[Nagiosplug-devel] Strange behaviour in check_http

Lucas Liendo mindmaster at gmail.com
Fri Jan 25 19:59:48 CET 2008


Hi I'm writting this mail because I couldn't find any information about this
issue on Google. I set on the KeepAlive option on my Apache webserver and I
noticed that if I run a check_http against it returns a socket timeout. Here
are the parameters I used :

With KeepAlive OFF :

./check_http -I HOSTNAMEXX -u http://mywebsite.html -w 1.5 -c 2

and got : HTTP OK HTTP/1.1 200 OK - 2292 bytes in 0.045 seconds |time=
0.044638s;1.500000;2.000000;0.000000 size=2292B;;;0

With KeepAlive ON :

./check_http -I HOSTNAMEXX -u http://mywebsite.html -w 1.5 -c 2

and got : CRITICAL - Socket timeout after 10 seconds

I'm running Apache 2.2 and Nagios 2.5. If you need any further information
please let me now.

Best regards,
Lucas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20080125/95cdc0ea/attachment.html>


More information about the Devel mailing list