Doug Szarmach
2012-12-21 19:57:50 UTC
Doug Szarmach [http://community.zenoss.org/people/dszarmach] created the discussion
"Bad OIDS added to zenperfsnmp list"
To view the discussion, visit: http://community.zenoss.org/message/70677#70677
--------------------------------------------------------------
The following is in debug output from "zenperfsnmp run" with -v10, including the first line which is a bad OID (missing .x suffix)
'1.3.6.1.2.1.2.2.1.14': [('ifInErrors', *(BAD via SNMP GET)*
                                   'Devices/ccswi01/ifInErrors_ifInErrors',
                                   'DERIVE',
                                   '',
                                   '0',
                                   None)],
         '1.3.6.1.2.1.2.2.1.14.10101': [('GigabitEthernet0/1', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_1/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
         '1.3.6.1.2.1.2.2.1.14.10102': [('GigabitEthernet0/2', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_2/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
         '1.3.6.1.2.1.2.2.1.14.10103': [('GigabitEthernet0/3', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_3/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
This leads to constant errors in log:
2012-12-21 13:42:21,579 ERROR zen.zenperfsnmp: SNMP get returned empty value: ccswi01 1.3.6.1.2.1.2.2.1.14
2012-12-21 13:42:21,579 WARNING zen.zenperfsnmp: Error reading value for ['ifInErrors'] (1.3.6.1.2.1.2.2.1.14) on ccswi01
Is happening for the following and appears to be tied to the default "zenoss.snmp.InterfaceMap":
1.3.6.1.2.1.2.2.1.8
1.3.6.1.2.1.2.2.1.20
1.3.6.1.2.1.2.2.1.14
1.3.6.1.2.1.31.1.1.1.6
1.3.6.1.2.1.31.1.1.1.7
1.3.6.1.2.1.31.1.1.1.10
1.3.6.1.2.1.31.1.1.1.11
Any idea on how to prevent all of these base OIDs from populating a device's OID list if they lack the proper .X suffix?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70677#70677]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Bad OIDS added to zenperfsnmp list"
To view the discussion, visit: http://community.zenoss.org/message/70677#70677
--------------------------------------------------------------
The following is in debug output from "zenperfsnmp run" with -v10, including the first line which is a bad OID (missing .x suffix)
'1.3.6.1.2.1.2.2.1.14': [('ifInErrors', *(BAD via SNMP GET)*
                                   'Devices/ccswi01/ifInErrors_ifInErrors',
                                   'DERIVE',
                                   '',
                                   '0',
                                   None)],
         '1.3.6.1.2.1.2.2.1.14.10101': [('GigabitEthernet0/1', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_1/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
         '1.3.6.1.2.1.2.2.1.14.10102': [('GigabitEthernet0/2', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_2/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
         '1.3.6.1.2.1.2.2.1.14.10103': [('GigabitEthernet0/3', *(GOOD via SNMP GET)*
                                         'Devices/ccswi01/os/interfaces/GigabitEthernet0_3/ifInErrors_ifInErrors',
                                         'DERIVE',
                                         '',
                                         '0',
                                         None)],
This leads to constant errors in log:
2012-12-21 13:42:21,579 ERROR zen.zenperfsnmp: SNMP get returned empty value: ccswi01 1.3.6.1.2.1.2.2.1.14
2012-12-21 13:42:21,579 WARNING zen.zenperfsnmp: Error reading value for ['ifInErrors'] (1.3.6.1.2.1.2.2.1.14) on ccswi01
Is happening for the following and appears to be tied to the default "zenoss.snmp.InterfaceMap":
1.3.6.1.2.1.2.2.1.8
1.3.6.1.2.1.2.2.1.20
1.3.6.1.2.1.2.2.1.14
1.3.6.1.2.1.31.1.1.1.6
1.3.6.1.2.1.31.1.1.1.7
1.3.6.1.2.1.31.1.1.1.10
1.3.6.1.2.1.31.1.1.1.11
Any idea on how to prevent all of these base OIDs from populating a device's OID list if they lack the proper .X suffix?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70677#70677]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]