Alex van den Bogaerdt wrote:
> On Thu, Dec 13, 2007 at 02:07:08AM +0200, Gutza wrote:
>
>> I get an "invalid rpn" error message for the following CDEF:
>>
>> CDEF:old=old_percent,user_percent,-,familiar_percent,-,robot_percent,-
>>
> Perhaps there's a typo in this RPN or in one of the DEFs or CDEFs ?
>
>
Thank you for pointing me in the right direction, Alex! Indeed, the
problem was a mismatch between DEFs and the RPN atoms -- the cause
however wasn't a typo, but rather lack of attention. I was trying to use
data source names instead of vdefs in the RPN. In other words, I was
doing something of this sort:
rrdtool graph /dev/null \
DEF:ds1=x.rrd:x:AVERAGE \
DEF:ds2=x.rrd:y:AVERAGE \
CDEF:custom=x,y,-
Anyway, problem solved, all is well -- I just wrote this for future
reference.
Thanks,
Gutza
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users