[rrd-users] Re: Roll Over at non-standard value (not 32 or 64 bit)

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Thu Mar 2 01:18:22 MET 2000


Chris Kleban wrote:
> 
> I have a counter that wraps at the value 536870910 (not 32 bit or 64
> bit). The device is a BIGIP load balancer made by f5 networks
> (www.f5.com). And when the counter wraps, the value recorded in my rrd
> is really high. I saw somewhere on the rrd web site that it calculates
> roll overs based on either 32 bit or 64 bit roll over values. Is there a
> way to get rrd to use this unique roll over value?

For the moment: no (but I think it is on the wish list).

You can get similar results when you do the following in your front end,
first you have to find out how you can detect a counter roll over.

  - get current counters
  - check for roll over
  - if the roll over did occur, insert "U" for the value
  - feed the counter to rrdtool

To detect the roll over, you could keep the previous counter value
available for your front end.  There are only two cases where the
current counter can be smaller than the previous one (either a counter
reset or a counter wrap) and in both cases it helps to feed that "U"
value.

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+


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



More information about the rrd-users mailing list