> I'm trying to produce a number which relates to the timeline or scope > of the graph created in RRDTool using PREV and/or PREV(). > > I notice that using these if the first number is UNDEFINED, the whole > calculation comes out -1 (or it looks like -1 when I use GPRINT to > print the LAST value). > > Is there a quick and easy way to query a CDEF value to find out if it > is UNDEFINED and change it to ZERO? The only thing I could come up > with was this: > > CDEF:Tick=Small,PREV,DUP,UN,0,EQ,EXC,0,IF,+ > > Where Small is variable I'm trying to track. > > Any better ideas? Thanks! > > Dan > > ...---... ...---... > Dan McGinn-Combs > [EMAIL PROTECTED] > Atlanta, Georgia >
-- 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
