----- Original Message ----- 
From: "Philip Peake" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 15, 2010 4:35 PM
Subject: [rrd-users] Counter resets - how to handle?


> I am sampling a counter inside a software process (operations count)
> and plotting the result over time as a graph.
> I am using type COUNTER - since this is what it is.

Good.

> All works well until for some reason the process has to be restarted.
> At that point rrdtool assumes that the counter overflowed, and shows a
> huge number of operations.

Yep.

> Any suggestions on how to deal with this?

Solution: see my site, http://www.vandenbogaerdt.nl/rrdtool and click on 
RRDtool update tutorial with examples
This will work if you know a reset is about to occur, or just has occured.

Workaround: set an reasonable maximum for your RRD, so that spikes are 
ignored. Use rrdtool tune to change the maximum allowed rate.

HTH
Alex

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to