[rrd-users] Re: Fw: Re: PREV in 1.0.38 ?

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Tue Oct 1 14:33:32 MEST 2002


Dear Sir,

Thank you very much for your help.

On Tue, Oct 01, 2002 at 09:11:29AM -0300, Gonzalo Augusto Arana Tagle wrote:
> 
> Dear Stanley,
> 

 ... snip ...

>         CDEF:prev_failures=failures,PREV
>         CDEF:prev_successes=successes,PREV

> 
> mmm... I think here's the problem,
> Those two lines should be:
> 	CDEF:prev_failures=PREV(failures)
> 	CDEF:prev_successes=PREV(successes)
> 
> > [ERROR: RPN final stack size != 1]
> 
> That is reasonable:
> 
> 	CDEF:prev_failures=failures,PREV
> 
>   The PREV operator (do not confuse it with PREV()), fetches de previous
> sample of prev_failures, rather than the previous sample of failures. 
> So, at the end of the RPN expression you have two values on stack
> (that's the error message you get).
> 
> Hope it helps,
> 

Yes. Problem dealt with completely - apart from the comprehension
failure that lead to it.

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list