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!
(Return code of 127 is out of bounds - plugin may be missing
Re: (Return code of 127 is out of bounds - plugin may be mis
If you did not have net-snmp installed when you compiled the nagios-plugins package, then you will need to recompile that package now that it is installed. Once you've done that everything should be good
Re: (Return code of 127 is out of bounds - plugin may be mis
Thanks ... makes sense ... I am up and running ...