Archived community.zenoss.org | full text search
Skip navigation
2550 Views 4 Replies Latest reply: Aug 30, 2011 2:38 PM by richardbergen RSS
richardbergen Rank: White Belt 17 posts since
Mar 25, 2010
Currently Being Moderated

Aug 30, 2011 1:15 PM

Cisco Interface (l2vlan, propVirtual, etc) Bad OID errors

Hi, I'm getting a bunch of bad OID errors for sub-interfaces on zenoss 3.1.0. Here's what I'm done so far, but without any luck.

 

1. copied the ethernetCsmacd template (override template / copy) to propVirtual and l2vlan as well as copied to "Layer 2 Virtual LAN using 802.1Q" and "Encapsulation Interface" without quotes.

2. deleted errors in and errors out data sources since it was those OIDs that were causing the errors

3. re-modeled router, no luck, still got errors

4. I tried changing the name in InterfaceMap.py for '135' and '131' to l2vlan and propVirtual since I read on some thread that the "longer name" could be causing a problem.

5. deleted router, re-added it as well as tried to re-model device again, still receive errors

 

here is the ifDescr and ifType values of the router in question:

 

IF-MIB::ifDescr.1 = STRING: GigabitEthernet0/0

IF-MIB::ifDescr.2 = STRING: GigabitEthernet0/1

IF-MIB::ifDescr.3 = STRING: GigabitEthernet0/2

IF-MIB::ifDescr.4 = STRING: Backplane-GigabitEthernet0/3

IF-MIB::ifDescr.5 = STRING: FastEthernet0/1/0

IF-MIB::ifDescr.6 = STRING: FastEthernet0/1/1

IF-MIB::ifDescr.7 = STRING: FastEthernet0/1/2

IF-MIB::ifDescr.8 = STRING: FastEthernet0/1/3

IF-MIB::ifDescr.9 = STRING: FastEthernet0/1/4

IF-MIB::ifDescr.10 = STRING: FastEthernet0/1/5

IF-MIB::ifDescr.11 = STRING: FastEthernet0/1/6

IF-MIB::ifDescr.12 = STRING: FastEthernet0/1/7

IF-MIB::ifDescr.13 = STRING: FastEthernet0/1/8

IF-MIB::ifDescr.14 = STRING: Null0

IF-MIB::ifDescr.15 = STRING: Vlan1

IF-MIB::ifDescr.16 = STRING: Loopback0

IF-MIB::ifDescr.17 = STRING: Vlan2

IF-MIB::ifDescr.18 = STRING: GigabitEthernet0/0.37 <- causing bad OID errors

IF-MIB::ifDescr.19 = STRING: GigabitEthernet0/0.27 <- causing bad OID errors

IF-MIB::ifDescr.20 = STRING: GigabitEthernet0/0.79 <- causing bad OID errors

 

 

IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.10 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.11 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.12 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.13 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.14 = INTEGER: other(1)

IF-MIB::ifType.15 = INTEGER: propVirtual(53)

IF-MIB::ifType.16 = INTEGER: softwareLoopback(24)

IF-MIB::ifType.17 = INTEGER: propVirtual(53)

IF-MIB::ifType.18 = INTEGER: l2vlan(135)

IF-MIB::ifType.19 = INTEGER: l2vlan(135)

IF-MIB::ifType.20 = INTEGER: l2vlan(135)

 

 

grep 135 ./zenoss/Products/DataCollector/plugins/zenoss/snmp/InterfaceMap.py

    '135': 'l2vlan',

 

grep 53 ./zenoss/Products/DataCollector/plugins/zenoss/snmp/InterfaceMap.py

     '53': 'propVirtual',

 

I read that it is supposed to pick up the ifType and automatically apply the appropriate template if the names match but that doesn't appear to be working for me.

 

Just wondering if anyone has any ideas or if I missed something?

 

thanks

Richard

Attachments:
  • nilie Rank: Green Belt 372 posts since
    May 27, 2010

    Where did you put those new templates ?

     

    In my Zenoss I did the same thing as you did with one difference. The "Layer 2 Virtual LAN using 802.1Q_64" type works just fine but I kept it in /Devices since it still is a component template. In your printscreen I noticed you moved it to /Network.

  • nilie Rank: Green Belt 372 posts since
    May 27, 2010

    Cisco is using ethernetCsmacd(6) for all interface no matter their speed. _64 is because I have a 1Gbit/s interface configured with 801.q and it means it is using 64bit counters. I checked and this also works for 100Mbit/s interfaces. Zenoss has templates for interfaces using 32bit and 64bit counters and it will privilege the 64bit. If it detects that 64bit counters are supported, it will use those templates irrespective of the interface speed (of course assuming you're using snmp v2c or 3).

    My suggestion is to always use the exact interface type as detected by Zenoss no matter how long it is, because this will dictate the template to use. In your case, something might have gone wrong while trying to copy and rename a component template so I would go again to one of those routers and check the templates effectively binded to it, /Devices must be one of them. Then go to one of the interfaces giving OID errors, check the details and see the interface type as identified by Zenoss and make sure in the /Devices you have a template with the same exact name and configured with the datasources you like.

     

    Hoping this will help

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points