[rrd-users] VDEFs and handling NaNs....

Tobias Oetiker tobi at oetiker.ch
Fri Apr 27 20:12:27 CEST 2007

Hi David,

NaNs are taken as non existant values ... this means that they will
be ignored totall ...

so if half the day is NaN ... then the average for the day will be
over 12h only ...

hope this helps

Today David Ball wrote:

>   I'm trying to (re)interpret the docs for VDEFs, but wouldn't mind a
> little clarification if possible.  If my rrd has a ton of NaNs in it,
> and I have a DS defining, say, bits/sec, and then I use a VDEF to
> determine AVERAGE or PERCENT, are the NaNs assumed to be 0s?  Are they
> included in the calculations at all ?  Or are only the 'real' values
> in the .rrd included when calculating PERCENT, AVERAGE, etc ?
>   Thanks in advance.
> David
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902

More information about the rrd-users mailing list