[rrd-users] Re: Preventing counter wraps

Mike Wright mike at auckland-services.freeserve.co.uk
Wed Jul 5 14:28:34 MEST 2000


At 01:16 PM 7/5/00 +0200, Jerome Fleury wrote:

>Yes, it finally works (updating with a U). But it would be better to be
>able to give the new value to rrd instead of setting "U", because then
>you don't miss values just after the reboot. I mean if you poll just
>after the reboot (say at 09:30) and set "U" then you miss a value that
>in fact isn't unknown.

OK, so if you detect a reboot, then you could log an "Unknown", then log
the current value of the counter. 

RRDTool doesn't like having two samples logged in the same second, so log
the Unknown at time-1 second then log the counter value.

Good luck!
Mike


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