[mrtg] Displaying VLAN traffic separately from a physical interface

Michael Silver msilver at prl.ab.ca
Tue Feb 12 21:38:06 CET 2008


Hello,
 
> if you snmpwalk ifInOctets and ifHCInOctets on the box, do you get
> actual traffic numbers?  Do they appear to increment?

Yes - here's an snmpwalk from before lunch:

# snmpwalk -v2c -c public 10.108.1.129 ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 2986495148
IF-MIB::ifInOctets.2 = Counter32: 2366540277
IF-MIB::ifInOctets.3 = Counter32: 2234310737
IF-MIB::ifInOctets.4 = Counter32: 326188573
IF-MIB::ifInOctets.5 = Counter32: 2301367957
IF-MIB::ifInOctets.6 = Counter32: 24264
IF-MIB::ifInOctets.7 = Counter32: 237181484
IF-MIB::ifInOctets.8 = Counter32: 3568795167

And after...

# snmpwalk -v2c -c public 10.108.1.129 ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 3006452896
IF-MIB::ifInOctets.2 = Counter32: 2586809935
IF-MIB::ifInOctets.3 = Counter32: 2234310737
IF-MIB::ifInOctets.4 = Counter32: 457504738
IF-MIB::ifInOctets.5 = Counter32: 2301367957
IF-MIB::ifInOctets.6 = Counter32: 24264
IF-MIB::ifInOctets.7 = Counter32: 309776314
IF-MIB::ifInOctets.8 = Counter32: 3610608618

Thanks for your help - it's greatly appreciated!

Michael

Michael Silver, Network Administrator 
Parkland Regional Library 
5404 56 Avenue Lacombe, AB T4L 1G1 
Phone: 403.782.3850 msilver at prl.ab.ca
Fax: 403.782.4650   http://www.prl.ab.ca/




More information about the mrtg mailing list