[rrd-users] Re: Preventing counter wraps

Tobias Oetiker oetiker at ee.ethz.ch
Wed Jul 5 15:29:58 MEST 2000


Today you sent me mail regarding [rrd-users] Re: Preventing counter wraps:

*> 
*> Tobias Oetiker wrote:
*> > 
*> > *> What about a "nowrap" option to rrd_update ?
*> > 
*> > and how should this work? how should it distinguish between wrap
*> > and reboot ?
*> > 
*> 
*> Well, if my front end detects a reboot, then I could send the polled
*> value to rrd_update adding a "nowrap" flag. RRD would then skip the wrap
*> detection and (if counter and rrd_diff < 0) then recompute deltas from
*> this value.

OK you have a reboot at time=3323423 and your next read is at 3323983

rrdtool update 3323423:U 3323424:0 3323983:<value>

cheers
tobi

*> OK, I'm not a RRD expert, but I assume this from having read the
*> rrd_update sources. Probably I'm wrong, tell me.
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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