[rrd-users] rpn equation
Simon Hobson
linux at thehobsons.co.uk
Sat Nov 1 20:50:38 CET 2008
R Dicaire wrote:
>If I read the rpn docs correctly the following equation should
>evaluate as (a + b) * 10000
>
>CDEF:ices=icecast,vicecast,+,10000,*
>
>If this is correct, previous values for icecast arent being displayed
>in the graph, but ARE displayed when called by
>
>CDEF:ices=icecast,10000,*
>
>Any ideas?
Does vicecast have a value when this equation fails ? If it's not
defined, then you have "something + nan" which has a result of nan.
If that is the case, tehn you can use an "if" expression to set it to
zero instead.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the rrd-users
mailing list