[rrd-users] Optimize RRD update

Fabien Wernli wernli at in2p3.fr
Mon Feb 4 08:52:51 CET 2008


On Sun, Feb 03, 2008 at 06:48:06PM +0100, Gwenael Lahay wrote:
> I update my rrd file to put zero values because my rrd file stores 3
> frequency of the same data.

and only one of the 3 gets updated at any one time?

> correctly the average value for 5 minutes and half and hour.
> For example, i have the following value for a 5 minutes interval :
> NaN 3 NaN NaN NaN NaN
> The program store a NaN data for this 5 minutes interval.

so what is Nan: the measure (rrdtool fetch output) or your calculation
(rrdtool graph) or both?
If you manually calculate the average between frequencies, you may wanna
play with RPN IF expressions to check for nan values



More information about the rrd-users mailing list