Gerry Seaward wrote: > > > rrdtool graph foo.png -w 800 -h 600 --start 992628600 --end 992637000 \ > DEF:mysent=128.11.25.244.rrd:sent:AVERAGE \ > DEF:myrec=128.11.25.244.rrd:received:AVERAGE \ > CDEF:clean_sent=value,unknown,0,value,IF \
You should use the desired variable named in place of "value". Also, you need to use upper case for "unknown". > CDEF:clean_sent=0,0,value,IF \ This is a redefinition of clean_sent. It doesn't work (or at least: it shouldn't work). Furthermore you have something similar to " if (false) then this else that ". This will always evaluate to "that" (value in your case). [snip] > LINE1:mysent#FF0000 LINE2:myrec#F00000 If you want to plot the modified variables, you need to specify them here and not use the original vars. HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- 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
