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 [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
