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

Tobias Oetiker tobi at oetiker.ch
Tue Feb 2 23:16:17 CET 2016

HI Johan,

what error do you get when you use UNKN ... NaN is not a legal
statement in rrdtool

the rpn parser has become much more unforgiving in 1.5


Today Johan Ström wrote:

> Hi,
> I've been using rrdtool 1.4.x for years with a certain script, but I got into
> some issues when FreeBSD introduced 1.5.5 (1.4.8 before).
> Basically, I have some temperature data, in which I want to filter out the
> exact value 85.00, and "render" an unkn/nan instead:
> DEF:rawmax=myfile.rrd:value:MAX
> CDEF:vmax=rawmax,85.00,EQ,NaN,rawmax,IF
> Since the upgrade, rrdtool now fails with ERROR: don't understand
> 'NaN,rawmax,IF'
> I've checked again and again, but I fail to see any syntax errors or other
> apparent issues. I've tried with UNKN instead of NaN and other stuff, but no
> success..
> If anyone could point me in the right direction I'd be very happy!
> Thanks,
> Johan
> _______________________________________________
> 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, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902

More information about the rrd-users mailing list