check_http - user+password - string required

Tom Brown tom.brown at goodtechnology.com
Tue Feb 21 17:13:35 CET 2006


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.

thanks



-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list