[Pkg-nagios-devel] Bug#423461: http.cfg/check_http flawed arguments
joy at debbugs.entuzijast.net
Fri May 11 23:34:55 UTC 2007
The config file change provided in #292124 had a bug: it gave the IP address
($HOSTADDRESS$) to the check_https command in both the -I and -H parameters.
Since the meaning of the -H parameter is to modify the Host: HTTP header,
putting an IP address in it is fairly clearly nonsensical. Instead,
the *name* should be put inside; the name of the virtual host.
The argument passed to -H should be $HOSTNAME$ instead.
Note that -I should be kept, so as to avoid having HTTP* checks depending
I noticed this for check_https, but the same actually applies to
check_http as well. You may also want to change check_squid to use
-H $HOSTNAME$ -I $HOSTADDRESS$.
Please fix this. TIA.
2. That which causes joy or happiness.
More information about the Pkg-nagios-devel