You probably are adding a known value to an unknown value.

The trick would be to skip the unknown ones, although you would be
lying.
You can do the skip in your rpn.

Say your rpn looks like this:

def: var1
def: var2

cdef:total=var1,var2,+

you could change that to:

cdef:total=var1,UN,0,var1,IF,var2,UN,0,var2,IF,+
(untested)

Which says:
total = (if var1 = UN then 0 else var1) + (if var2 = UN then 0 else
var2)

Serge Maandag.


-----Original Message-----
From: Shahira Rasmy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 07, 2002 8:19 AM
To: [email protected]
Subject: [rrd-users] Fw: Addition Problem





Dear All;
I have some problems with adding several rrds,,some are collecting data
for a long time and the others are recent ones. The results is that the
history o the old ones disappear in addition.. Can anyone tell me how
can i solve that problem???

Thanks,


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


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

Reply via email to