(Return code of 127 is out of bounds - plugin may be missing
Posted: Mon Dec 10, 2012 3:00 pm
Hi
I am setting up Nagios for the first time on CentOS. I am currently configured to get alerts for my Windows machines, and such. I am now trying to configure monitoring for my switch and am able to do ping test but am not able to do snmp checks:
# Service definition to monitor switch uptime using check_snmp
define service{
use generic-service
hostgroup_name switches
service_description Uptime
check_command check_snmp!-C public -o sysUpTime.0
}
I get error message in the web interface: (Return code of 127 is out of bounds - plugin may be missing)
It appears that I don't have check_snmp in nagios/libexec.
I tried
yum install net-snmp-utils
and started snmp service
The check_snmp does not show up under nagios/libexec ... do I need to recompile? If someone has understanding of this then can you tell me what should be done to fix it?
Many Thanks!
I am setting up Nagios for the first time on CentOS. I am currently configured to get alerts for my Windows machines, and such. I am now trying to configure monitoring for my switch and am able to do ping test but am not able to do snmp checks:
# Service definition to monitor switch uptime using check_snmp
define service{
use generic-service
hostgroup_name switches
service_description Uptime
check_command check_snmp!-C public -o sysUpTime.0
}
I get error message in the web interface: (Return code of 127 is out of bounds - plugin may be missing)
It appears that I don't have check_snmp in nagios/libexec.
I tried
yum install net-snmp-utils
and started snmp service
The check_snmp does not show up under nagios/libexec ... do I need to recompile? If someone has understanding of this then can you tell me what should be done to fix it?
Many Thanks!