Package: nagios-plugins-basic

Hi,

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
on DNS.

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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to