[rrd-users] Replace nan with previous value

Samuel Mutel smutel at monitoring-fr.org
Thu Apr 7 16:00:29 CEST 2011

Thank you. It works fine.
Can I change the color of the line or area when it is NaN ?

Samuel Mutel.

----- Mail original -----
De: "Steve Shipway" <s.shipway at auckland.ac.nz>
À: "Samuel Mutel" <smutel at monitoring-fr.org>, rrd-users at lists.oetiker.ch
Envoyé: Mardi 22 Février 2011 22:27:51
Objet: RE: [rrd-users] Replace nan with previous value

> I want to know how with a CDEF or in a configuration directly
> stored in RRD files how can I replace nan value by the last real value.


IE, if the value of 'ds' is unknown, then use its previous value, else use its original value.

This is the function done by MRTG in native mode, or with Routers2 and the 'unknasprev' option.


Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 

More information about the rrd-users mailing list