On 2/21/06, Tom Brown <[EMAIL PROTECTED]> wrote: > Hi > > Trying to get check_http to check a site that requires authorization and > also the check needs to expect a certain string back in the response. > > So far i have > > ./check_http -H www.foo.net -u /some/where/ -a user:pass > OK - HTTP/1.1 302 Found - 0.087 second response time > |time=0.086617s;;;0.000000 size=491B;;;0 > > but what can i add to this to make it so that a string i expect is > checked. I hae tried all sensible options i can tell from the help.
Look at check_website or webinject on nagiosexchange. Both plugins let you get much more in-depth as far as website checks. For example, we do an indepth (check_website) check once an hour, and more frequent checks of "is the website responding"(check_http). -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null