Nagios 3 Ubuntu 9.10 HP Switch SNMP Check Failure
I am setting up Nagios for the first time, I want it to monitor all my servers and infrastructure and internet connection. So far I have it Monitoring them all in basic ways (ping and public services)
I am trying to get the check_snmp to work for all the managed HP switches, I have looked at the switches config and SNMP is enabled and the "Read Community" ID is "public"
when I have the following lines uncommented in the config and run the preflight check I get the error listed at the bottom of the post.
it seems to be telling me that the I have not defined check_snmp but it cannot see where it wants it to be ?
# Monitor uptime via SNMP
use generic-service ; Inherit values from a template
check_command check_snmp! -C public -o sysUpTime.0
Reading configuration data...
Running pre-flight check on configuration data...
Error: Service check command 'check_snmp' specified in service 'Uptime' for host 'R9-1800-24G' not defined anywhere!