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
Nagios Error Collecting metrics or SNMP walk
-
veeravamsi
- Posts: 145
- Joined: Wed Jan 23, 2019 3:35 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Error Collecting metrics or SNMP walk
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?
Are you sure the OID is represented in the MIB?
-
veeravamsi
- Posts: 145
- Joined: Wed Jan 23, 2019 3:35 am
Re: Nagios Error Collecting metrics or SNMP walk
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Error Collecting metrics or SNMP walk
You mention traps but you are trying to query the via SNMP waly, these would be 2 different mibs...veeravamsi wrote:How do i confirm they are walkable or can do SNMP walk
What is the OID for currentbranchcb1 ? I searched the internet for currentbranchcb1 and found virtually nothing.