check_http: fail if word appears on page?

Nate Carlson nagios at natecarlson.com
Mon May 22 17:29:37 CEST 2006


I've got a case where I'm monitoring a web site that throws up a message 
saying 'This site is undergoing maintenance' when there is a problem with 
the backend servers.. is there a way with check_http to verify that the 
word maintenance does *not* appear on the page?

I've tried using the regex engine, but haven't figured out a way to negate 
the regexp.

Any suggestions would be appreciated!

------------------------------------------------------------------------
| nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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