/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1685881597 \
--end=1685967997 \
--title='31 - Traffic - loopback1' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2023/06/04 19\:26\:37 To 2023/06/05 19\:26\:37\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/31_traffic_in_1058.rrd":'traffic_in':AVERAGE \
DEF:b="/var/lib/cacti/rra/31_traffic_in_1058.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" |