[mrtg] cfgmaker v2c interface speed fallback issue on Adtran devices
Jay Hennigan
jay at west.net
Fri Jul 1 00:21:09 CEST 2011
I'm running into a problem with cfgmaker on Adtran Total Access
products, new with MRTG 2.17.1 and high speed counter fallback.
The PPP and HDLC interface types return a blank value for speed.
Cfgmaker debug snippet below:
--base: snmpget xxx at yyy:::::2:v4only for ifHighSpeed.18 -> Mb/s --base:
snmpget xxx at yyy:::::2:v4only for ifHCInOctets.18 -> --base: check for
HighspeedCounters? failed ... Dropping back to V1
But then the output shows as
### Interface 18 >> Descr: 'ppp-2' | Name: 'ppp 2' | Ip: '172.31.255.2'
| Eth:''###
### The following interface is commented out because:
### * has a speed of which makes no sense
If, however, you manually snmpget the v1 low speed counter it returns a
sane value.
Failed high-speed:
$ snmpget -v 2c -c xxx yyy ifHighSpeed.18
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifHighSpeed.18
Successful low-speed:
$ snmpget -v 2c -c xxx yyy ifSpeed.18
IF-MIB::ifSpeed.18 = Gauge32: 1536000
So it appears that either the result from ifHighSpeed is not being
correctly interpreted or the cfgmaker script fails to poll and/or use
the ifSpeed value.
Fast ethernet interfaces correctly report the high speed in Mbps, see below.
snmpget -v 2c -c xxx yyy ifHighSpeed.5
IF-MIB::ifHighSpeed.5 = Gauge32: 100
Contact info below. I can make a lab device available online should this
be helpful.
--
Jay Hennigan - CCIE #7880 - Network Engineering - jay at impulse.net
Impulse Internet Service - http://www.impulse.net/
Your local telephone and internet company - 805 884-6323 - WB6RDV
More information about the mrtg
mailing list