Source: nagios-plugins-basic
Severity: minor

Hi,

I found that at least two of the plugins defined in
/etc/nagios-plugins/config/http.cfg do not work
here as expected:

CUPS:
define command{
        command_name    check_cups
        command_line    /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' 
-p 631 '$ARG1$'
        }

What is the $ARG1?


SQUID:
# 'check_squid' command definition
define command{
        command_name    check_squid
        command_line    /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' 
-p '$ARG1$'  -u '$ARG2$' -e 'HTTP/1.0 200 OK'
        }

My squid returns 'HTTP/1.1 200 OK' (1.0 vs. 1.1), so this does not fit
the expected although it's OK.  Perhaps use the default (HTTP/1)?

Many thanks and best regards,

     Andi


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

Reply via email to