Xymon Mailing List Archive search

Is there a reason why the httpstatus test is case sensitive?

list John Thurston
Wed, 01 Apr 2015 09:07:56 -0800
Message-Id: <user-ccd72116bdb5@xymon.invalid>

Yesterday, I crashed xymonnet by doing a copy/paste into an httpstatus test. I eventually figured out what was wrong.

This syntax is good:
   0.0.0.0  foo.com   # httpstatus;http://foo.com/index.html;401
This syntax is bad:
   0.0.0.0  foo.com   # httpstatus;HTTP://foo.com/index.html;401

The man page for hosts.cfg doesn't say anything about required or supported casing. Is there some reason why xymonnet shouldn't be able to handle mixed-case protocol names in the URLs provided?

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska