[rrd-users] rpn to convert NaN to 0
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Sat Mar 14 20:52:04 CET 2009
----- Original Message -----
From: "Mark Hedges" <mark at phix.me>
To: "R Dicaire" <kritek at gmail.com>
Cc: <rrd-users at lists.oetiker.ch>
Sent: Saturday, March 14, 2009 8:13 PM
Subject: Re: [rrd-users] rpn to convert NaN to 0
I think Alex is meaning this tutorial:
http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html
There are examples on that (around the middle of the page).
I'm not sure why you are now getting nothing graphed. I would only use
the IF/UN RPN statement on the value you know that could be NaN and
just customise it as you see fit.
I recently had to use this method to some across more than 100
different values, any of which could have been NaNs - produced a very
lengthy RPN expression.
Also, if using 1.2.x of newer, see ADDNAN.
More information about the rrd-users
mailing list