[Nagiosplug-devel] check_http bug for min_page_len

Jorge Niedbalski niedbalski at gmail.com
Mon Dec 26 16:37:59 CET 2011


Given this input :

/usr/local/nagios/libexec/check_http -u /job/status -H host -p 8080
--pagesize=0:0 --post="value=123123" --warning=10.0 -N -f ok
--critical=20.0 -v

POST /job/status HTTP/1.0
User-Agent: check_http/v1861 (nagios-plugins 1.4.11)
Connection: close
Host: host
Content-Type: application/x-www-form-urlencoded
Content-Length: 78

id=10

HTTP CRITICAL - No data received from host

Fix :

Check for the min_page_len before compare current pagesize.

Patch attached.



Thanks you.

-- 
Jorge Niedbalski R.
--------------------------
Software Developer & nix sysadmin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_http_p.diff
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20111226/f1186539/attachment.bin>


More information about the Devel mailing list