James Pardonek wrote: > > > I am using RRGrapher to gen my graphs but I have an issue when setting > things up so that the inbound traffic is abouve the center line and the > outbound is below the center line my legend in the graph gets screwed up.
> 'DEF:A=/var/www/XX.XX.XX.0_24.rrd:in_bytes:AVERAGE' \ > 'DEF:B=/var/www/XX.XX.XX.0_24.rrd:out_bytes:AVERAGE' \ > 'CDEF:C=A,-1,*' \ So: C is -A. > 'AREA:C#FF0000:A,-1,*' \ Now you are trying to graph C, which is good. This will plot negative numbers which is what you want. However, you do not want "A,-1,*" in the legend, so why tell RRDtool to do so? Just change this into 'AREA:C#FF0000:A' and you will get "A" in the legend. No magic, it just prints what you ask for. 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
