[Nagiosplug-help] [check_http] loading times too long
Olivier 'Babar' Raginel
nagios at babar.us
Fri May 29 15:13:55 CEST 2009
On Fri, May 29, 2009 at 08:34:42AM -0400, Thomas Guyot-Sionnest wrote:
> > ./check_http -I <ip> -H <host-name> -u <url> -t 60 -c 10 liefert
> > HTTP CRITICAL: - HTTP/1.1 200 OK - 15.183 second response time |time=15.182516s;;10.000000;0.000000 size=39867B;;;0
>
> I would guess your server does not honor the Connection:close header and
> do a 15-second keep-alive instead. You can have check_http disconnect
> as soon as it receives the headers with the -N (--no-body) switch,
> however you will not be able to check anything in the body.
Just a question that came to my mind while reading this...
What's the point of using HTTP/1.1 connection for check_http?
Maybe if you request several pages using several -u parameters, if
that's supported, but I would guess HTTP/1.0 should suffice in over 90%
of use-cases.
--
Babar.
More information about the Help
mailing list