[rrd-users] Re: Problem with counter wrap

jon.hartman at verizon.com jon.hartman at verizon.com
Fri Jan 21 18:30:57 MET 2005


Unfortunately, you've hit a limitation in the 32-bit counter. Unless
there's a 64-bit one you can start polling, your best bet is to convert
over to a 1-minute polling interval. At that rate, you shouldn't see a
double-wrap until about the low-500Mbps mark.

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Pablo Velasquez
Rivas
Sent: Friday, January 21, 2005 10:34 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Problem with counter wrap

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         \
            RRA:MAX:0.5:288:797

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



--
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