[rrd-users] Using CDEF to fill unknown data area

Wenping Yang wenping at oak.njit.edu
Fri Apr 2 21:15:17 MEST 2004


Hello all,

I have tried to generate a graph using CDEF to deal with the UNKNOWN data, I
know the UNKNOWN data can be replaced with 0 using:

"CDEF:avgtemp1=avg,UN,0,avg,IF",


and I want to fill the UNKNOWN data area with AVERAGE:

"DEF:avg=$OUTDIR/$name.$proc.rrd:data:AVERAGE",
"DEF:max=$OUTDIR/$name.$proc.rrd:data:MAX",
"DEF:min=$OUTDIR/$name.$proc.rrd:data:MIN",
"CDEF:avgtemp1=avg,UN,AVERAGE,avg,IF",
"AREA:avgtemp1#c0ffc0:temp1",

but this script did not work as I have expected, do you have any idea about
this problem?

Any help will be appreciated.


Wenping


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