Custom SNMP MIB monitoring - Nagios

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.
Locked
muffadalq
Posts: 3
Joined: Tue Jan 03, 2012 5:17 pm

Custom SNMP MIB monitoring - Nagios

Post by muffadalq »

I am trying to load a custom mib and display the custom mib info on the nagios web console. The steps I followed are below:

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:
check_command check_snmp!-P 2c -C public -o .1.3.6.1.4.1.24659.10.0 -m all
5) Verified the nagios changes and restarted nagios

The new monitored object shows up in the webconsole but nagios is not able to monitor the mib. The webcosole (attached) shows a failed object error.

Separately running the check_snmp command results in the following:
./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 appreciated. Thx
Attachments
nagios.png
Locked