Menu

#6 cisco-2811 has wrong ifName oids

open-later
nobody
Templates (6)
5
2010-02-05
2009-02-19
No

The cisco-2811 template has a variety of oids for ifName. The cisco-2801 template (and others, except linux-openwrt which uses ifDescr) have a more correct oid: .1.3.6.1.2.1.2.2.1.10

Discussion

  • Richard Finegold

    Well, that serves me for checking the wrong section. The actual correct oid is .1.3.6.1.2.1.31.1.1.1.1 (see any of the cisco 29xx templates).

     
  • Buchan Milne

    Buchan Milne - 2010-02-04

    Having copied the 2801 template for a 3800 earlier, it for some reason has worked, using OID .1.3.6.1.2.1.2.2.1.10 (ifInOctets) for ifName, the content in if_load test ends up containing values that seem to come from ifDescr (.1.3.6.1.2.1.2.2.1.2). (This could be due to the fact that other tests already define ifName as .1.3.6.1.2.1.2.2.1.2)

    These values are in the long format, e.g.:
    GigabitEthernet0/0

    Switching to 1.3.6.1.2.1.31.1.1.1.1 will switch to the short format, e.g.:
    Gi0/0

    This means that people who have used the templates which mysteriously ended up using ifDescr may have to change per-device custom exceptions, and rrd files will have to be renamed.

    Is this worth the effort?

    The other issue is that the ifAliasBox or ifAlias is not used (so the interface description is missing), but that can be added more easily than changing the format of the interface names.

     
  • Richard Finegold

    • labels: --> Templates
    • status: open --> open-later
     
  • Richard Finegold

    Consolidation/inheritance is in the roadmap -- https://sourceforge.net/tracker/index.php?func=detail&aid=2937034&group_id=160720&atid=816980 -- so I have no problem with waiting for this issue to be dealt with at that time; I'm thinking it'll be the perfect example for demonstrating inheritance overriding/avoidance.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.