[rrd-users] PREV fails?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Dec 28 00:50:06 MET 1999


I was playing around a bit with scripts et al and it seems that I'm
doing something wrong while using PREV inside my CDEF script.

"active" is a datasource that counts seconds.  The number will vary
from 0 to about 21600.

I'm trying:
(using either 1.0.8 or 1.0.9)

>From the manual I understand that this should:

1) push the value of "active".
2) push the previous value of ACTIVE or, if this is unknown, UNKN.
3) subtract the second from the first, leaving one value on the stack.

Unfortunately the only value I get is UNKN and yes, I'm sure "active"
is not unknown for most of the time.

Where do I go wrong?

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |

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