[Xymon] xymonnet not working for basic authentication with # in password

John Thurston john.thurston at alaska.gov
Fri Nov 3 23:03:58 CET 2017


On 11/3/2017 1:19 PM, Max Xu wrote:
> I am have something
> like httpstatus;https://admin_name:passwdXY#Z@abc.com/abc;200  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;http://foo:b#r@baz.com;200"

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    907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska



More information about the Xymon mailing list