[Nagiosplug-help] [check_http] loading times too long

Holger Weiss holger at CIS.FU-Berlin.DE
Fri May 29 17:45:52 CEST 2009


* Olivier 'Babar' Raginel <nagios at babar.us> [2009-05-29 15:13]:
> What's the point of using HTTP/1.1 connection for check_http?

The HTTP requests issued by check_http include a "Host" header if the
user specified the "-H" option.  Some servers ignore this header within
HTTP/1.0 requests[*], as HTTP/1.0 does not define the "Host" header.
So, check_http now issues HTTP/1.1 requests if the "-H" option is used
and HTTP/1.0 requests otherwise.

Holger

[*] http://sf.net/tracker/?func=detail&aid=2638765&group_id=29880&atid=397597




More information about the Help mailing list