/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1685648824' \
--end='1685735224' \
--title='pdu6006 - Temperature' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2023/06/01 19\:47\:04 To 2023/06/02 19\:47\:04\c" \
COMMENT:" \n" \
--vertical-label='Celcius' \
--slope-mode \
--font TITLE:11: \
--font AXIS:8: \
--font LEGEND:9: \
--font UNIT:8: \
DEF:a='/var/lib/cacti/rra/pdu6006_temperature_in_839.rrd':'temperature_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/pdu6006_temperature_out_840.rrd':'temperature_out':AVERAGE \
CDEF:cdefa='a,10,/' \
CDEF:cdefe='b,10,/' \
LINE2:cdefa#002A97FF:'Air in' \
GPRINT:cdefa:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefe#F51D30FF:'Air Out' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s' |