[rrd-users] accessing vdef from another vdef
duanew
duane.walker at suncorp.com.au
Wed Aug 5 07:18:03 CEST 2009
oetiker wrote:
>
> Hi Duanew,
>
> Yesterday duanew wrote:
> [...]
>> but then I want to work out a ratio to adjust a, b and c by:
>> >
>> VDEF:ratio=maxtotal,maxtime,/
>> >
>> but it says "variable 'maxtotal' not DEF nor CDEF in VDEF 'ratio' ".
>
> VDEF can not do all the calculations CDEF can for now. So you have
> to use CDEF for this.
>
> CDEF:ratio_pre=total,POP,maxtotal,maxtime,/
>
>> Is this just not supported? Is there some other way I can do it?
>> >
>> >
>> Here is the file script:
>> >
>> > http://n2.nabble.com/file/n3383194/rrdfetch.sh rrdfetch.sh
>> >
>>
>> Sorry, I missed ths bit:
>>
>>
>> Note that currently only aggregation functions work in VDEF rpn
>> expressions.
>> Patches to change this are welcome.
>>
>>
>> I should be able to calculate and apply the ratio in the CDEF.
>
> exactly
> tobi
>
>>
>>
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
http://n2.nabble.com/file/n3389291/rrdfetch.sh rrdfetch.sh
http://n2.nabble.com/file/n3389291/www.agileacademy.com.au.png
www.agileacademy.com.au.png
--
View this message in context: http://n2.nabble.com/accessing-vdef-from-another-vdef-tp3383194p3389291.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list