/bin/rrdtool graph - \
--imgformat=PNG \
--start='1683418780' \
--end='1716471964' \
--title='tyo-t1600 - Errors/Discards - xe-0/0/1.4005 (jm-e600 Vlan4005 to TEIN-JP(kote-dc-GM1/NII))' \
--rigid \
--base='1000' \
--height='150' \
--width='600' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2023/05/07 09\:19\:40 To 2024/05/23 22\:46\:04\c" \
COMMENT:" \n" \
--vertical-label='errors/sec' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/usr/share/cacti/rra/tyo-t1600_errors_in_1327.rrd':'discards_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/tyo-t1600_errors_in_1327.rrd':'errors_in':AVERAGE \
DEF:c='/usr/share/cacti/rra/tyo-t1600_errors_in_1327.rrd':'discards_out':AVERAGE \
DEF:d='/usr/share/cacti/rra/tyo-t1600_errors_in_1327.rrd':'errors_out':AVERAGE \
LINE1:a#FFAB00FF:'Discards 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#F51D30FF:'Errors In' \
GPRINT:b:LAST:' Current\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:b:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:c#C4FD3DFF:'Discards Out' \
GPRINT:c:LAST:'Current\:%8.2lf %s' \
GPRINT:c:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:c:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:d#00694AFF:'Errors Out' \
GPRINT:d:LAST:' Current\:%8.2lf %s' \
GPRINT:d:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:d:MAX:'Maximum\:%8.2lf %s\n' |