I have downloaded the check_snmp_temperature.pl pluggin to monitor my Dell server temperature.This is my nagios config file data:
**define command{
command_name check_temp
command_line $USER1$/check_snmp_temperature.pl -H $HOSTADDRESS$ -C public --type=dell -i 10C -o F -u 0 -a Ambient -w 80 -c 90 -f }
define service{
use local-service
host_name web01
check_command check_temp
}**
When I execute ,
$check_snmp_temperature.pl -H 172.16.1.2 -C public --type=dell -i 10C -o F -u 0 -a Ambient -w 80 -c 90 -f
command , it displays the current temperature. but nagios shows it as:
web01 temperature Critical no output
why nagios is unable to show the current reading wheras command is running successfully?