/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-2678400 \
--end=-7200 \
--title='SWDST-PNZCAMDTC-RK4 - Trafego' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits por segundo' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/swdst-pnzcamdtc-rk4_traffic_in_112.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/swdst-pnzcamdtc-rk4_traffic_in_112.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Ent.\:" \
GPRINT:cdefa:LAST:" Atual\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Média\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Máximo\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Saida\:" \
GPRINT:cdefe:LAST:"Atual\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Média\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Máximo\:%8.2lf %s\n" |