Thanks John, I did try them all with same result.
On 11/3/17, 3:03 PM, "Xymon on behalf of John Thurston" <xymon-bounces at xymon.com on behalf of user-ce4d79d99bab@xymon.invalid> wrote:
On 11/3/2017 1:19 PM, Max Xu wrote:
I am have something
like httpstatus;https://urldefense.proofpoint.com/v2/url?u=https-3A__admin-5Fname-3ApasswdXY-23Z-40abc.com_abc-3B200&d=DwIGaQ&c=Zok6nrOF6Fe0JtVEqKh3FEeUbToa1PtNBZf6G01cvEQ&r=_rRsvDpSvkhydGEmSgSLQ5J0DhQTISZJFuX6D4Oq8-A&m=dm7hBNws2amD5BULT5yiqOnwxg_cMThGCgONbsIrpZA&s=4CL4rAHy0-BsMW7hps3Dh456ycR5riTr5M7lBIIcWlo&e= in hosts.cfg.
It would not surprise me that the # character breaks the parser. The syntax of this line has evolved over the decades, while remaining backwardly compatible. It is a truly spectacular mashup of semicolons, spaces, quotes, and equal signs.
Have you tried wrapping the whole httpstatus portion in double-quotes?
"httpsstatus;https://urldefense.proofpoint.com/v2/url?u=http-3A__foo-3Ab-23r-40baz.com-3B200&d=DwIGaQ&c=Zok6nrOF6Fe0JtVEqKh3FEeUbToa1PtNBZf6G01cvEQ&r=_rRsvDpSvkhydGEmSgSLQ5J0DhQTISZJFuX6D4Oq8-A&m=dm7hBNws2amD5BULT5yiqOnwxg_cMThGCgONbsIrpZA&s=2Mnx0bcUCUbyCPPK-IbfGYmy_egZqVsaH8panqcrEUI&e="
Have you tried replacing the # with %23 ? I don't really expect it to work, but it's worth a try.
--
Do things because you should, not just because you can.
John Thurston XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwIGaQ&c=Zok6nrOF6Fe0JtVEqKh3FEeUbToa1PtNBZf6G01cvEQ&r=_rRsvDpSvkhydGEmSgSLQ5J0DhQTISZJFuX6D4Oq8-A&m=dm7hBNws2amD5BULT5yiqOnwxg_cMThGCgONbsIrpZA&s=mzYYlmRtaJGRv5qAs_pNKqqRdxBdb8qnLYOdSPucSGs&e=