/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1683293656 \
--end=1685972056 \
--title='B32 - Traffic - Te1/1/1' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2023/05/05 20\:34\:16 To 2023/06/05 20\:34\:16\c" \
COMMENT:" \n" \
--vertical-label='bytes per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/lib/cacti/rra/b32_traffic_in_1049.rrd":'traffic_in':AVERAGE \
DEF:b="/var/lib/cacti/rra/b32_traffic_in_1049.rrd":'traffic_out':AVERAGE \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:b#002A97FF:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s" |