[rrd-users] rpn expressions without DEF or CDEF variables are not supported

Yee-Ting Li ytl at slac.stanford.edu
Fri Sep 1 03:16:30 MEST 2006


Hi,

i'm trying to do some complex-ish calculations on rrd data, basically  
i wish to sum up the totals of two sources such that:

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
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

i have two questions:

- are there any plains to support this in the future?

- is there another way i can get the value of sumTotal to be printed  
out?


thanks,

Yee.

--
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