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

Yee-Ting Li ytl at slac.stanford.edu
Fri Sep 1 07:57:29 MEST 2006


Thanks for your response Leif,

Unfortunately no; replacing the CDEF:sumTotal=... to a  
VDEF:sumTotal=... results in:

variable 'gridTotal' not DEF nor CDEF in VDEF 'sumTotal'

cheers,

Yee.

On 31 Aug 2006, at 22:24, Leif Neland wrote:

> Yee-Ting Li wrote:
>> 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,+
>>
>> however, it complains that:
>>
>> rpn expressions without DEF or CDEF variables are not supported
>
> It may be early in the morning for me, but can't you just make the  
> last line
> a VDEF too?
>
> Leif
>
>
>

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