[rrd-users] Problem with counter wrap

Pablo Velasquez Rivas pvelasquez at its.co.cr
Fri Jan 21 17:34:14 MET 2005

Hi all.

I'm monitoring a STM1, and I'm having problems when it gets over 100 
Mbps. I'm getting que in traffic via snmp. The problem is when the 
traffic is really high and the router's counter gets wrap. The counter 
is 32bits length.
Some examples of the counter's value are:
1649124260 , 1985404175, 2410413980 , 3137526950, 3728976455, 
4188225691, ... counter wrap .. , 180039546, 619861589.

My rrd file was created in this way:
rrdtool create /usr/lib/cgi-bin/graphs/rrds/test.rrd         \
            DS:input:COUNTER:600:0:4294967295   \
            DS:output:COUNTER:600:0:4294967295  \
            RRA:AVERAGE:0.5:1:600      \
            RRA:AVERAGE:0.5:6:700      \
            RRA:AVERAGE:0.5:24:775     \
            RRA:AVERAGE:0.5:288:797    \
            RRA:MAX:0.5:1:600          \
            RRA:MAX:0.5:6:700          \
            RRA:MAX:0.5:24:775         \

With these values, I'm getting a wrong graph, I mean the high traffic is 
not drawn properly, is drawn as a low traffic instead. What can I do to 
get the right graph ?

Thanks in advance.
Ing. Pablo A. Velásquez Rivas
IT Servicios de Infocomunicación
/ All programmers are optimists / -- Frederick P. Brooks, Jr.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list