check_http regex question

Wes Hegge whegge at gmail.com
Wed Jul 18 23:51:09 CEST 2007


Hello Everyone,

Have a quick question about what regular expression to use to check a web
page.

The web page is for some Trango wireless backhaul units.  On the main page
the status will say 'connected' if the backhaul units are talking to each
other.  Otherwise, the status is 'disconnected'.

I have tried:

./check_http -H 10.252.0.158  -r connected      returns OK all the time
./check_http -H 10.252.0.158  -r \(connected\)  returns OK. all the time

any idea on how to setup the regex?

Thanks,

Wes Hegge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070718/b8fa3b12/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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