**Update**

Correction to the below email.  The error occurs with this command_line:

command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v 
'$ARG1$' '$ARG2$'


Soren


The error message produced in Nagios is "wrong -l argument". I don't know why it doesn't work. It should work. But it doesn't. Through experimentation I discovered that removing the ' marks fixed the problem.

The error occurs with the following configurations:

command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v 
$ARG1$ $ARG2$
define service{
        use                     generic-service
        host_name               winserver
        service_description     C:\ Drive Space
        check_command           check_nt!USEDDISKSPACE!-l c -w 80 -c 90
        }
Soren Stoutner

Reply via email to