Page 1 of 1

Nagios Error Collecting metrics or SNMP walk

Posted: Wed Feb 06, 2019 5:24 am
by veeravamsi
Hello team,

I had to recently delete and re-add MIBs related to DataCenter SNMP. And im getting below errors when polling/snmpwalk :

[nagios@hostname ~]$ /usr/local/nagios/libexec/check_snmp -H hostname -p 161 -o currentbranchcb1.0 -C xxxxx -P 1 -m CPI-PDU-SVV23330351RT-2-MIB
External command error: currentbranchcb1.0: Unknown Object Identifier (Sub-id not found: (top) -> currentbranchcb1)

These were working before. Also noticed some of devices which were responding to SNMP walk earlier are not responding now.

Any help would be appreciated.

--Vamsi

Re: Nagios Error Collecting metrics or SNMP walk

Posted: Wed Feb 06, 2019 4:24 pm
by scottwilkerson
It looks like the MIB you are specifying doesn't know what OID currentbranchcb1.0 referrs to.

Are you sure the OID is represented in the MIB?

Re: Nagios Error Collecting metrics or SNMP walk

Posted: Thu Feb 07, 2019 2:03 am
by veeravamsi
Yes the OID is present in the MIB . How do i confirm they are walkable or can do SNMP walk . I ran addmib command to load the MIB and i see Traps in /etc/snmp/snmptt.conf file but i dont see anything under processed_mibs folder.

Re: Nagios Error Collecting metrics or SNMP walk

Posted: Thu Feb 07, 2019 12:06 pm
by scottwilkerson
veeravamsi wrote:How do i confirm they are walkable or can do SNMP walk
You mention traps but you are trying to query the via SNMP waly, these would be 2 different mibs...
What is the OID for currentbranchcb1 ? I searched the internet for currentbranchcb1 and found virtually nothing.