[rrd-users] How To Graph with Occasional NaN (OK)

Steve Shipway s.shipway at auckland.ac.nz
Thu Apr 12 01:26:35 CEST 2012


You can do this using a CDEF.

What to graph depends on your preference.  If you want to mimic the behaviour of native-mode MRTG, for example, which uses the previous known value to replace a NaN, then just use something like:

CDEF:cleanx=x,UN,PREV,x,IF

(IF value of x is unknown, use PREVious value of cleanx, else use x)

Steve



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 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6080 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120411/ed102c29/attachment-0001.bin 


More information about the rrd-users mailing list