[rrd-users] Question about GPRINT

James Pardonek pardonjr at calumet.purdue.edu
Wed Jun 12 18:11:19 MEST 2002


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.

Here's my code


$RRDLOC/rrdtool graph XXnet.gif \
                --width '640' \
                --height '150' \
                --title 'Research and Development Network' \
                '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,*' \
                'COMMENT:\n' \
                'AREA:B#0000FF:XX.XX.XX.0_24 AVE out_bytes' \
                'GPRINT:B:MIN:(min=%.0lf' \
                'GPRINT:B:AVERAGE:ave=%.0lf' \
                'GPRINT:B:MAX:max=%.0lf)' \
                'COMMENT:\n' \
                'AREA:C#FF0000:A,-1,*' \

In my graph, my legends read

XX.XX.XX.0_24 AVE out_bytes (min=0 ave=2348 max=123487)
A,-1,* (min=0 ave=123 max=1234)

Is there a way to change the legend titles?

Thanks,

James R. Pardonek
LAN Specialist
Purdue University Calumet Data Network

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