Nagios SNMP plugin for Cisco

Hello all

I have recently installed the Nagios Cisco SNMP Monitoring plugin on my Fully Automated Nagios 1.0 installation and this plugin seems to work fine at the command line :

su -nagios
cd /tmp
perl /usr/lib/nagios/plugins/check_snmp_cisco_loadavg -H 10.1.100.4 -C public ; echo "Plugin Return Code: $?"
Status is OK - CPU load average (5 min): 31 %, temperature normal
Plugin Return Code: 0

But I get a beautiful (No output!) message in the Nagios web interface.

Here is how my command is defined :

perl $USER1$/check_snmp_cisco_loadavg -H -$HOSTADDRESS$ -C public -w 75 -c 80

Access rights are OK :

-rwxrwxr-x 1 apache nagios 5664 nov 3 17:09 /usr/lib/nagios/plugins/check_snmp_cisco_loadavg

Any idea of what’s wrong ?

Many thanks

PO

What’s that - (minus) character in front of $HOSTADDRESS$

Thanks Albin !

My mistake was even worse ! I entered ‘$HOSTADRRESS$’ instead of ‘$HOSTADDRESS$’.

Sometimes, you just need a brand new view to solve the problem that stuck you for half a day :wink:

PO