[mrtg] Bandwidth/Max Speed misreported

Daniel J McDonald dan.mcdonald at austinenergy.com
Tue Nov 27 18:52:13 CET 2007


On Tue, 2007-11-27 at 10:48 -0700, Tim Donnelly wrote:
> 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
10mb/s
> IF-MIB::ifSpeed.2 = Gauge32: 100000000
100mb/s

weren't you looking for gigabit?

Are you certain you have the correct instance?
snmpwalk -v1 -c public therouter.example.com ifName

> 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?
> 
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



More information about the mrtg mailing list