RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1537121766' \
--end='1539800166' \
--pango-markup \
--title='Localhost - APC UPS Statistics' \
--vertical-label='APC UPS Statistics' \
--slope-mode \
--base=1000 \
--height=120 \
--width=500 \
--tabwidth '30' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2018-09-16 18\:16\:06 To 2018-10-17 18\:16\:06\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 \
--font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/usr/share/cacti/site/rra/localhost_bat_volt_78.rrd':'time_left':AVERAGE \
DEF:b='/usr/share/cacti/site/rra/localhost_bat_volt_78.rrd':'b_charge':AVERAGE \
DEF:c='/usr/share/cacti/site/rra/localhost_bat_volt_78.rrd':'bat_volt':AVERAGE \
DEF:d='/usr/share/cacti/site/rra/localhost_bat_volt_78.rrd':'line_volt':AVERAGE \
DEF:e='/usr/share/cacti/site/rra/localhost_bat_volt_78.rrd':'load_pct':AVERAGE \
LINE2:a#B1441EFF:'Runtime Remaining ' \
GPRINT:a:LAST:'Current\:%8.2lf %s' \
GPRINT:a:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' \
LINE2:b#00FF00FF:'Battery % Remaining' \
GPRINT:b:LAST:'Current\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:b:MAX:'Maximum\:%8.2lf %s\n' \
LINE2:c#DA4725FF:'Battery Voltage ' \
GPRINT:c:LAST:'Current\:%8.2lf %s' \
GPRINT:c:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:c:MAX:'Maximum\:%8.2lf %s\n' \
LINE2:d#623465FF:'Line Voltage ' \
GPRINT:d:LAST:'Current\:%8.2lf %s' \
GPRINT:d:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:d:MAX:'Maximum\:%8.2lf %s\n' \
LINE3:e#00BBB4FF:'Load % ' \
GPRINT:e:LAST:'Current\:%8.2lf %s' \
GPRINT:e:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:e:MAX:'Maximum\:%8.2lf %s\n' RRDtool Command lengths = 1914 characters. RRDtool Says: OK |
|