Dear Stanley,
> I am writing to thank you for your letter and ask if you could perhaps
> spot the mistake or let me know what I am doing incorrectly ?
Sure (I'm not a rrdtool guru, but I'll do my best).
> tsitc> rrdtool -v
> RRDtool 1.0.39 Copyright 1997-2001 by Tobias Oetiker
> <[EMAIL PROTECTED]>
Great!
> CDEF:prev_failures=failures,PREV
> CDEF:prev_successes=successes,PREV
mmm... I think here's de 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,
--
Gonzalo A. Arana Tagle
Lider de Proyectos - Ingenieria
UOL-Sinectis
Florida 537 Piso 6, Buenos Aires, Argentina
+54-11-4321-9110 ext 2543
http://www.uolsinectis.com
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi