Hello all,

I have a problem with check_snmp_storage.pl, it works in command line but
not in Nagios :
./check_snmp_storage.pl -H 192.168.5.6 -C public -m /var -w 80 -c 90
/var: 1%used(4MB/496MB) (<80%) : OK


My config :
define command{
        command_name    check_snmp_disk
        command_line    /usr/bin/perl $USER1$/check_snmp_storage.pl -H
$HOSTADDRESS$ -C $USER4$ -m $ARG3$ -w $ARG1$ -c $ARG2$
}

My service with the check_command:
check_command           check_snmp_disk!80!90!/var

Rights:
-rwxr-xr-x  1 nagios nagios 25484 Jul 17 15:45 check_snmp_storage.pl

Thanks for your help.
BR
The Noob
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to