I had a fair amount of success running external scripts from cron to do web server checkouts. I used curl to grab a page, then grep to pick out the interesting bits and decide on a color to report. Using a script allows you to drill down through several levels of web page. I used bash and all the usual command line tools, but you could use perl, tcl or anything else you're familiar with.
Doing it with scripts gives you a lot of flexibility.
Ralph Mitchell On Nov 8, 2012 10:23 PM, "Betsy Schwartz" <betsy.schwartz at gmail.com> wrote:
I have a high-visibility request to change all of our server http tests so that they appear as separate tests per URL, with the ability to alert separately, sign out separately, etc. As most of our web servers are application servers in one form or another, the various URL's test very different functionality.
I can sort of do this with the "cont=" flag but that has two problems:
-have to specify a return regexp for each tested URL instead of using the default -test STILL appears under the server's http check
It's becoming a serious issue that we have http tests that show a mixture of red and green tests. And to make it worse, on some servers sometimes http just turns *yellow* when only one URL out of three or four is down, even though all four are critical..
What are other people doing? Am I missing an easier way to do this?
thanks Betsy
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon