snmp custom mib import
Posted: Tue Jan 03, 2012 5:42 pm
I am trying to load a custom mib and display the custom mib info on the nagios web console. I:
after verifying nagios for errors and restarting nagios services, I see the following on the web console: Img attached..
Separately running check_snmp results in an error:
./check_snmp -P 2c -C public -m ALL -H 10.10.86.204 -o .1.3.6.1.4.1.24659.10.0
SNMP OK - = No Such Instance currently exists at this OID |
Any help is much appreciated. Thx
- 1) Copied the custom mibs to /usr/share/snmp/mibs
2) Installed the nagios plugins using the quickstart guide that installed check_snmp as well
3) Uncommented the cfg_file=/usr/local/nagios/etc/objects/switch.cfg line in /usr/local/nagios/etc/nagios.cfg
4) Edited the switch.cfg file in /usr/local/nagios/etc/objects/ as follows:
- a) Edited the hosts obejct
b) Edited the hostgroup object
c) Edited the service definition with the check_name as follows:
after verifying nagios for errors and restarting nagios services, I see the following on the web console: Img attached..
Separately running check_snmp results in an error:
./check_snmp -P 2c -C public -m ALL -H 10.10.86.204 -o .1.3.6.1.4.1.24659.10.0
SNMP OK - = No Such Instance currently exists at this OID |
Any help is much appreciated. Thx