Check_http with size and regex conditions ignoring size check.

Andrew Laden Andrew.Laden at tudor.com
Thu Feb 23 16:40:11 CET 2006


I want to check a web page, and check both for a regex and for a minimum
size.

However, it appears that the regex requirement overides the size. Eg. (names
changes to protect the innocent)
check_http (nagios-plugins 1.4.1) 1.81

aladen at host> check_http -H servername -p 8080 -u "uri" -r "REGEX CHECK"  -m
60:100
HTTP OK HTTP/1.1 200 OK - 0.420 second response time
|time=0.419695s;;;0.000000 size=2405B;60;0;0

aladen at host> check_http -H servername -p 8080 -u "uri"  -m 60:100
HTTP WARNING: page size 2405 too large|size=2405B;60;0;0

Is this a bug in check_http?

-Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060223/f13c005b/attachment.html>


More information about the Users mailing list