<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alex van den Bogaerdt wrote:
<blockquote cite="mid:20071213011242.GC31256@ergens.op.het.net"
type="cite">
<pre wrap="">On Thu, Dec 13, 2007 at 02:07:08AM +0200, Gutza wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I get an "invalid rpn" error message for the following CDEF:
CDEF:old=old_percent,user_percent,-,familiar_percent,-,robot_percent,-
</pre>
</blockquote>
<pre wrap=""><!----></pre>
<pre wrap="">Perhaps there's a typo in this RPN or in one of the DEFs or CDEFs ?
</pre>
</blockquote>
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:<br>
<pre wrap="">rrdtool graph /dev/null \
DEF:ds1=x.rrd:x:AVERAGE \
DEF:ds2=x.rrd:y:AVERAGE \
CDEF:custom=x,y,-</pre>
Anyway, problem solved, all is well -- I just wrote this for future
reference.<br>
<br>
Thanks,<br>
Gutza<br>
<br>
</body>
</html>