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
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
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.
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.