[rrd-users] Re: CDEF invalid rpn expression
Wiebe Kloosterman
wiebe1971 at gmail.com
Thu Dec 28 21:39:33 MET 2006
Alex thanks for your reply
I have also tried changing the variable in something else but the same result
$opts = array( "--imgformat", "PNG", "--start", "$starttime",
"--end", "$endtime",
"--width", "$width", "--height", "$height",
"DEF:ietsandersa0=$dir/$file:ds0:AVERAGE",
"DEF:ietsandersb1=$dir/$file:ds1:AVERAGE",
"CDEF:a=ietsandersa0,8,*",
"CDEF:b=ietsandersa1,8,*",
"COMMENT: $comment\J",
"COMMENT:\J",
<cut>
rrd_graph() ERROR: invalid rpn expression in: ietsandersa0,8,*
if i make it like this
$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
--
Wiebe Kloosterman
--
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