/bin/rrdtool graph - \
--imgformat=PNG \
--start='1713056036' \
--end='1713228836' \
--title='hk-mx480-1j - Unicast Packets - et-0/1/0 (et-0/1/0-singapore-mx480-1 [SR129345])' \
--rigid \
--base='1000' \
--height='150' \
--width='600' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2024/04/14 09\:53\:56 To 2024/04/16 09\:53\:56\c" \
COMMENT:" \n" \
--vertical-label='packets/sec' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/usr/share/cacti/rra/hk-mx480-1j_unicast_in_2045.rrd':'unicast_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/hk-mx480-1j_unicast_in_2045.rrd':'unicast_out':AVERAGE \
AREA:a#FFF200FF:'Unicast Packets In' \
GPRINT:a:LAST:' Current\:%8.2lf %s' \
GPRINT:a:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:b#00234BFF:'Unicast Packets Out' \
GPRINT:b:LAST:'Current\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:b:MAX:'Maximum\:%8.2lf %s\n' |