check_http and regular expressions

Masoud Tabrizi masoud.tabrizi at gmail.com
Wed Aug 26 21:49:34 CEST 2009


Hello All, 

I need to check on a http page and get an OK if that particular string is NOT present.

Using check_http I would like to get an OK after checking on the http page if the matching string is not present on the page.

Could someone tell me how to do this?

I am using check_http version 1.4.9 along with Nagios 2.9

I am currently running ./check_http -H 10.10.10.10 -p 80 -u /something/something/log -a username:password -r [^ERROR]

(if there are no ERRORS, it should return OK)

 

 

Thanks for your help

‘Masoud

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090826/3f955406/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
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