Title: Check_http with size and regex conditions ignoring size check.

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

[EMAIL PROTECTED]> 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

[EMAIL PROTECTED]> 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

Reply via email to