Website wizard
Posted: Fri Dec 28, 2012 12:59 am
In Website Wizard, option for Web page Regular Expression Match. What would be use of that and let me know any example for expression of the contend of webpage.
Thanks!!
Thanks!!
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
./check_http -H www.nagios.com -s yahoo - Checks for string yahoo on www.nagios.com and if found returns OK, fails if not found
HTTP CRITICAL - string not found|time=0.685802s;;;0.000000 size=38262B;;;0
./check_http -H www.nagios.com -s nagios - Checks for string nagios on www.nagios.com and if found returns OK, fails if not found
HTTP OK HTTP/1.1 200 OK - 0.709 second response time |time=0.709339s;;;0.000000 size=38332B;;;0
./check_http -H www.nagios.com --invert-regex yahoo - Checks for string yahoo on www.nagios.com and if found returns Critical, OK if not found
HTTP OK - HTTP/1.0 303 See Other - 0.128 second response time |time=0.128157s;;;0.000000 size=193B;;;0