[rrd-users] LAST of CDEF that converts NaN to 0 always 0

Steven Hartland killing at multiplay.co.uk
Wed Jun 4 18:47:09 CEST 2008

Ahh, I spent quite a while scratching my head about this with some
of our graphs here. In the end I gave in as I couldn't see any good
reason why it seemed to work some times but not others.

Thanks for letting us know this is now fixed, look forward to the
release :)


----- Original Message ----- 
From: "Tobias Oetiker" <tobi at oetiker.ch>
> there is a 'bug' in rrdtool graph, where it fetches one 'step' more
> data than is visible in the graph. This data is often 'nan'.
> The LAST vdef shows you the last non NAN value. In normal operation
> this works fine, but if you first convert all NAN values to 0, LAST
> will show you zero since the last fetched value which was NAN was
> turned into zero.
> anyway, I have fixed this problem in svn, in the next release of
> 1.2.x as well as 1.3.0 it is fixed, so that even when you turn nan
> to zero, you will get the last value visible on the graph.
> see http://oss.oetiker.ch/rrdtool-trac/changeset/1386

This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.

More information about the rrd-users mailing list