[rrd-users] Re: CDEF invalid rpn expression

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Dec 28 22:50:26 MET 2006

On Thu, Dec 28, 2006 at 09:39:33PM +0100, Wiebe Kloosterman wrote:
>                   "CDEF:a=ietsandersa0,8,*",

> rrd_graph() ERROR: invalid rpn expression in: ietsandersa0,8,*

>    $opts = array( "--imgformat", "PNG", "--start", "$starttime",
>                   "--end", "$endtime",
>                   "--width", "$width", "--height", "$height",
>                   "DEF:a=$dir/$file:ds0:AVERAGE",
>                   "DEF:b=$dir/$file:ds1:AVERAGE",
>                   "COMMENT:           $comment\J",
>                   <cut>
> than the script works fine

I'm not sure if this is going to work or not, but you could try
changing "CDEF" into "DEBUGCDEF" and look through the server logs.

Also try other kind of CDEFs, such as addition or even something
silly as "CDEF:a=a".

Nobody else seeing something obvious?  Please try, I could miss

Alex van den Bogaerdt

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list