[rrd-users] rrdtool 1.5 'don't understand' my previously working CDEF

Steve Shipway s.shipway at auckland.ac.nz
Tue Feb 2 23:35:09 CET 2016

> DEF:rawmax=myfile.rrd:value:MAX
> CDEF:vmax=rawmax,85.00,EQ,NaN,rawmax,IF

'NaN' is not a valid RPN symbol in RRDTool.  You should use UNKN instead.
Also watch out for typos like embedded spaces or doubled commas.


This will convert 85 into unknown.  However, with this value potentially
being a non-integer, due to Data Normalisation, the test may never return
true (as 85.00001 is not equal to 85).  Maybe instead try...


Though, I'm not sure what you're trying to achieve by only excluding value


Steve Shipway
T: +64 9 3737 599 ext 86487
E: s.shipway at auckland.ac.nz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5334 bytes
Desc: not available
URL: <http://lists.oetiker.ch/pipermail/rrd-users/attachments/20160202/3cc67993/attachment.bin>

More information about the rrd-users mailing list