On Feb 7, 2008 8:44 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
Cool, thanks! I only just looked over the diff file, but so far it looks
pretty good. You did a good job at keeping the same formatting I used too,
which is nice :-) Only one thing was missed: you didn't add your initials
and a comment to the revision history section ;-)
Oooops... :)
Regarding the proxy, I think it would be a good idea to have the proxy url
in the config file. But I think in general, the config file could use a
little overhauling, as some of the monitors I set up have long urls and
especially with the "post" type, long post content as well. It makes the
single-line format a bit unwieldy to edit. I'll have to come up with
something when I get a chance.
I can think of at least two other things I'd like to see in the config file:
1) COLUMN - There could be multiple different checks on a given
server. For example: we have a bunch of servers running Tomcat on
ports 8001 & 9001. One port set is always offline (and
disabled-until-OK in Hobbit) The client occasionally asks to switch
clusters, usually at inconvenient (for me) times, so I check both port
sets all the time. A single test hitting both ports would always show
red...
2) per-host authentication - to handle the occasions where a browser
would pop up an authentication box because the server responds with
"401 Unauthorized" & "WWW-Authenticate: Basic realm="xxxx" headers.
That would be "curl -u userid:passwd".
I think you're going to end up with multi-line entries per host...
Ralph Mitchell