[mrtg] Bandwidth/Max Speed misreported

Tim Donnelly tim at coalliance.org
Tue Nov 27 18:48:42 CET 2007


On Tue, 2007-11-27 at 09:11 -0700, Tim Donnelly wrote:
>> >
>> >More to the point, cfgmaker blithely reports whatever the host claims 
>> >as
>> it's speed from either the ifSpeed or the ifHCSpeed OID.  If you 
>> >manually walk the switch, do you get sensible values in those two slots?
>> 
>> I'm going to admit ignorance here, but how would I manually walk the 
>> interface?

>Assuming you have Net-SNMP:

>snmpwalk -v1 -c public therouter.example.com ifSpeed snmpwalk -v2c -c
public therouter.example.com ifHCSpeed

Thanks Dan,

The results I got are below:

IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 0
IF-MIB::ifSpeed.5 = Gauge32: 0
IF-MIB::ifSpeed.6 = Gauge32: 0

It would appear that snmp is giving the correct values, but MRTG is somehow
just displaying them wrong?



More information about the mrtg mailing list