Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
define service{
use generic-service ; Inherit values from a template
host_name RR-DE-IP-Phone-SW-2 ; The name we're giving to this switch
service_description Port 24 Uplink-SFP Link Status
check_command check_snmp!-C public -o ifOperStatus.1 -r 24 -m RFC1213-MIB
}
Execpt this i didn't modify anywhere.. Requested to let me know, if you need any information.
yum install net-snmp net-snmp-utils
cd /tmp
wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz
tar zxf nagios-plugins-2.0.3.tar.gz
cd nagios-plugins-2.0.3
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
I just installed net-snmp to my redundant nagios server. But facing same problem like previous. I have tried to re-install & recompiling net-snmp & all plugins. But no change
check_command check_snmp!-C public -o ifOperStatus.1 -m RFC1213-MIB
Save it out and restart Nagios and the Critical message will be fixed.
The MIB search path error, the default location "/usr/share/snmp/mibs/" could be missing the MIB files that are needed to run the check.
Can you verify that the RFC1213-MIB file is in that folder?
Be sure to check out our Knowledgebase for helpful articles and solutions!