RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Traffic Ca3/1-downstream" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/central_ubr-1_traffic_in_2890.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefc=a,30341646,/,100,*,8,* \
AREA:cdefa#002A97FF:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefc:LAST:"%3.2lf%%" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefc:AVERAGE:"Average\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s" \
GPRINT:cdefc:MAX:"Maximum%8.2lf %%\n" \
COMMENT:"****************************************************************************\n" \
GPRINT:cdefa:MAX:"Maximum Interface Speed%8.2lf%s"
RRDTool Says:
OK
[/url]