[rrd-users] Re: RRDTool and counter rollover/resets.

Tobias Oetiker oetiker at ee.ethz.ch
Thu Jun 12 06:41:00 MEST 2003


Yesterday James Kilton wrote:

> Hi,
>
> I'm monitoring DNS query statistics via an SNMP counter and
> storing the data in RRDTool.  Whenever I restart the BIND
> service, the counters reset to 0.  This caused RRDTool to think
> that the counter incremented ~4 billion times, causing a huge
> spike on the graph.

> Is there a way to have RRDTool take things like this into account
> to eliminate such spikes?

James,

use DERIVE and a minimum value setting of 0.

also, if your counter actually would wrap at 2^32-1, then you can
use COUNTER and a realistic max setting to let rrdtool decide if it
was a wrap or a reset ...

cheers
tobi
>
> Thanks,
> James
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
> --
> 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
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

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