[rrd-users] Using PREV to fix data

Ellis Corey Corey.Ellis at comverse.com
Sat May 3 01:56:09 MEST 2003


Hi everyone,

I have a quick question.

When fixing unknown data, instead of setting UN data to 0, I want to set it
to the PREV(val).  My question is what happens if the PREV(val) is UN also

I am using the following RPN setup

DEF:real_val=some.rrd:val:AVERAGE
CDEF:pre_val=PREV(real_val)
CDEF:new_val=real_val,UN,pre_val,real_val,IF

So I want to know what will happen if pre_val is UNKNOWN also and the
real_val is UNKNOWN.  Will the new_val get an UNKNOWN, and if so will it be
used in the graphing calculations?

Thanks in advance.

======================================
Corey M. Ellis
Senior Network Engineer, Comverse ICD
11 Broadway Ste 365, New York, NY 10004
Office: 212.652.6790
Mobile: 856.278.0550
Fax: 212.652.6790
Email: corey.ellis at comverse.com
=======================================


--
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