[rrd-users] Re: PREV fails?

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jan 3 11:02:18 MET 2000


Today you sent me mail regarding Re: [rrd-users] Re: PREV fails?:

*> Tobias Oetiker wrote:
*> > 
*> > Today you sent me mail regarding Re: [rrd-users] Re: PREV fails?:
*> > 
*> > *> Duh, it seems that the outcome of PREV is not related to the DS.  It is related
*> > *> to the outcome of the previous CDEF value.
*> > *> I seem to have misunderstood the manual.
*> > *> 
*> > *> Can somebody confirm this please?
*> > 
*> > oops yes sure, because otherwhise which DS would PREV refer to ?
*> > 
*> 
*> I tried something like:
*> 
*>    DS:t=blah.rrd:usertime
*>    CDEF:tt=t,PREV,-
*> 
*> In other words, I tried to work with the difference between the
*> previous value and the current one.  Obviously, it doesn't work this way.
*> 
*> I'm sure I'll work around this sometime.

this will work, but you must guard against getting any unknowns in there ...
at first PREV will be UNKNOWN. This will propageat ... 

cheers
tobi
*> 
*> regards,
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
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://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list