[rrd-users] Re: VDEF question

paul pluap at xs4all.nl
Thu May 19 23:48:52 MEST 2005


Thanks for the attempt:

ERROR: rpn expressions without DEF or CDEF variables are not supported

Attempt:

with the cronjob doing the updating of the db, I can make these number negative. If I then create a PERCENT line, I'm assuming that will solve my problem. 

regards
paul
On Thu, 19 May 2005 23:15:53 +0200
Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:

> On Thu, May 19, 2005 at 10:08:21PM +0200, pluap at xs4all.nl wrote:
> 
> > With 1.2.8, I can create a 95% line using the line
> > "VDEF:out95=outb,95,PERCENT".
> > 
> > This line is the 95% percentile from the output.
> > 
> > However, whatever I try to multiply the result by -1, the system returns
> > an errormessage like ERROR: Unknown function string '95,PERCENT,-1,*' in
> > VDEF 'out95'. This message is very persistent.. :o)
> 
> You cannot do this in a VDEF statement.  You can in a CDEF.
> The future may bring more functionality for VDEF; right now it
> is limited to the commands specified, not full RPN.
> 
> > What do I need to do to get a VDEF as above multiplied by -1?
> 
> Try this:
>    CDEF:reverse=out95,-1,*
> it should work, or maybe slightly altered (didn't try it myself right now)
> 
> HTH
> Alex
> 
> --
> 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
> 
> 

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