check_http

Steve nagios at sbtt.net
Wed Mar 3 21:47:11 CET 2004


how can I report an error if content is found via something like:

check_http -H ip -p 1111 -a id:passwd -s Offline

instead of getting "HTTP ok: ..."

I want it to report error when text x (offline)  is found and normal 
when not found, ie HTTP CRITICAL would be normal state..?

thks

-s






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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