<div dir="ltr">Hello all,<br><br>I have a problem with check_snmp_storage.pl, it works in command line but not in Nagios :<br>./check_snmp_storage.pl -H <a href="http://192.168.5.6">192.168.5.6</a> -C public -m /var -w 80 -c 90<br>
/var: 1%used(4MB/496MB) (<80%) : OK<br><br><br>My config : <br>define command{<br>        command_name    check_snmp_disk<br>        command_line    /usr/bin/perl $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $USER4$ -m $ARG3$ -w $ARG1$ -c $ARG2$<br>
}<br><br>My service with the check_command:<br>check_command           check_snmp_disk!80!90!/var<br><br>Rights:<br>-rwxr-xr-x  1 nagios nagios 25484 Jul 17 15:45 check_snmp_storage.pl<br><br>Thanks for your help.<br>BR <br>
The Noob<br></div>