[rrd-users] Re: PREV-Function? SUM-CF ?

Rene Fritzsche Rene at deinheld.de
Sun Sep 24 21:52:58 MEST 2006


> > So what i really need is a function to integrate the
> > function of received energy.
> > DEF:Ls=Light.rrd:D1:AVERAGE
> > CDEF:E=PREV,Ls,60,*,+
> > LINE:E#FF0000
> > 
> > but it wont work .. E is allways 0 or not defined
> There are two different PREV functions.  I think you need
> the other one.

Ok.. i changed the lines above to:

[i think you meant the PREV(vname)-function described on
the manual-pages..]
But after doing that, rrdtool fails with:
"ERROR: invalid rpn expression in: PREV(E),Ls,60,*,+"

PREV(Ls) ... using it with a DEF'ed dataset works fine,
but not with a CDEF'ed vname... kind of confusing when
reading the webpage. Maybe its a bug ?

My problem still remains .. :(

Cu Rene.

Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!

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