[rrd-users] Re: rpn expressions without DEF or CDEF variables are not supported
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Sep 1 13:34:56 MEST 2006
On Thu, Aug 31, 2006 at 06:16:30PM -0700, Yee-Ting Li wrote:
> DEF:grid=service_grid_src.rrd:in_bytes:AVERAGE
> DEF:bulk=service_bulk_src.rrd:in_bytes:AVERAGE
> CDEF:bits=grid,8,*
> CDEF:total=grid,bulk,+
> VDEF:gridTotal=grid,TOTAL
> VDEF:bulkTotal=bulk,TOTAL
this is the line failing:
> CDEF:sumTotal=gridTotal,bulkTotal,+
> LINE1:bits#ff0000:bits
> PRINT:total:AVERAGE:%.3lf%sbytes
> PRINT:gridTotal:%.6lf
> PRINT:bulkTotal:%.6lf
> PRINT:sumTotal:%6lf%sTOTAL
> however, it complains that:
>
> rpn expressions without DEF or CDEF variables are not supported
Try this: CDEF:sumTotal=grid,POP,gridTotal,bulkTotal,+
or CDEF:sumTotal=grid,grid,-,gridTotal,bulkTotal,+
or similar workarounds.
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
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