[Nagiosplug-help] Getting a !~ for the check_http -r or -R options

Lori Adams ladams at cloudmark.com
Thu Feb 16 11:07:11 CET 2006


I don't think so, but you can use the negate script that came with your
plugins.

It works like a wrapper.  Have your check_http return OK when "Dead" is
there.  Wrap that in negate, and it will return Critical.

-Lori

> -----Original Message-----
> From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-
> admin at lists.sourceforge.net] On Behalf Of Adam Cody
> Sent: Friday, February 03, 2006 10:53 AM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] Getting a !~ for the check_http -r or -R
> options
> 
> Is there currently a way to do !~ (or something like it) for the
> check_http service for the -r or -R option?
> 
> Intent is to have check_http return a OK when "Dead" doesn't show up
> on the webpage. And if "Dead" appears on the webpage it returns a
> "down status" for nagios to report on.
> 
> Regards,
> Adam
> 
> 
> -------------------------------------------------------
> 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=k&kid3432&bid#0486&dat1642
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any
issue.
> ::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list