/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1726558736' \
--end='1726645136' \
--title='switch6008 - Errors - 1/0/21' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2024/09/17 07\:38\:56 To 2024/09/18 07\:38\:56\c" \
COMMENT:" \n" \
--vertical-label='errors/sec' \
--slope-mode \
--font TITLE:11: \
--font AXIS:8: \
--font LEGEND:9: \
--font UNIT:8: \
DEF:a='/var/lib/cacti/rra/switch6008_discards_in_4668.rrd':'discards_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/switch6008_discards_in_4668.rrd':'errors_in':AVERAGE \
DEF:c='/var/lib/cacti/rra/switch6008_discards_in_4668.rrd':'discards_out':AVERAGE \
DEF:d='/var/lib/cacti/rra/switch6008_discards_in_4668.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' |