[mrtg] Re: If[In|Out]Octets seems to return bits intead of bytes

Eric Brander eric_mailing_list at rednarb.com
Fri Sep 2 14:14:44 MEST 2005

Ionel GARDAIS wrote:

>Hi Pavel,
>Working with SNMP v1 or v2c both return counter32 values :
>[gardais at br40st11 ~]$ snmpget -c public -v 1 res0-foundry1 ifOutOctets.513
>IF-MIB::ifOutOctets.513 = Counter32: 1398061606
>[gardais at br40st11 ~]$ snmpget -c public -v 2c res0-foundry1 ifOutOctets.513
>IF-MIB::ifOutOctets.513 = Counter32: 1398282706
>Is this an MRTG internal cooking ?
>Pavel Ruzicka wrote:
Counter wrap.

In a 5-minute polling interval of a 32-bit counter you can rate up to 
109 Mbps before the small counter wraps and MRTG will graph inaccurate data.
In a 1-minute polling interval of a 32-bit counter you can rate up to 
546 Mbps before the wrap and blown graphs.

Without 64-bit counters you will not likely be able to accurately graph 
a 1000 Mbps link unless that link never exceeds those numbers for the 
specified interval.

Search the list for "counter wrap" and you will find dozens of threads 
on this topic.


Eric Brander

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list