[rrd-users] Re: Preventing counter wraps

Mike Wright mike at auckland-services.freeserve.co.uk
Tue Jul 4 18:04:18 MEST 2000


At 05:45 PM 7/4/00 +0200, Jerome Fleury wrote:

>I need a way to tell RRD not to assume counter wraps for an update made
>just after a reboot.

You could read the sysUpTime and if there has been a reboot (eg uptime <
sample period) then log "Unknown" into the rrd for that sample. This should
prevent the counter wrap problems.

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