> 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.

CDEF:vmax=rawmax,85,EQ,UNKN,rawmax,IF

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...

CDEF:vmax=rawmax,85,GE,rawmax,86,LT,AND,UNKN,rawmax,IF

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

Steve

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to