My RRDtool Command is:
Code: Select all
RRDtool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--pango-markup \
--title='nas01 - CPU Utilization' \
--vertical-label='percent' \
--slope-mode \
--base=1000 \
--height=100 \
--width=600 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2020/02/12 16\:21\:06 To 2020/02/13 16\:16\:06\c" \
COMMENT:" \n" \
--border 1 --font TITLE:16:'Queenie'\''s' \
--font AXIS:12:'CopprplGoth Cn BT' \
--font LEGEND:10:'monofur Regular' \
--font UNIT:12:'CopprplGoth Cn BT' \
--font WATERMARK:8: \
--slope-mode \
--watermark 'Pulp Free Status - status.pulpfree.com' \
DEF:a='/var/www/html/cacti-1.2.9/rra/nas01_sscpusystem_2979.rrd':'ssCpuSystem':AVERAGE \
DEF:b='/var/www/html/cacti-1.2.9/rra/nas01_sscpuuser_2980.rrd':'ssCpuUser':AVERAGE \
DEF:c='/var/www/html/cacti-1.2.9/rra/nas01_sscpuidle_2978.rrd':'ssCpuIdle':AVERAGE \
CDEF:cdefbc='100,TIME,1581632437,GT,a,a,UN,0,a,IF,IF,TIME,1581632437,GT,b,b,UN,0,b,IF,IF,TIME,1581632437,GT,c,c,UN,0,c,IF,IF,+,+,-' \
AREA:a#F51D307F:'System\: ' \
GPRINT:a:LAST:'Current\:%8.1lf %%' \
GPRINT:a:AVERAGE:'Average\:%8.1lf %%' \
GPRINT:a:MAX:'Maximum\:%8.1lf %%\n' \
AREA:b#74C3667F:'User\: ':STACK \
GPRINT:b:LAST:'Current\:%8.1lf %%' \
GPRINT:b:AVERAGE:'Average\:%8.1lf %%' \
GPRINT:b:MAX:'Maximum\:%8.1lf %%\n' \
AREA:c#3D3C3A7F:'Idle\: ':STACK \
GPRINT:c:LAST:'Current\:%8.1lf %%' \
GPRINT:c:AVERAGE:'Average\:%8.1lf %%' \
GPRINT:c:MAX:'Maximum\:%8.1lf %%\n' \
AREA:cdefbc#00004D7F:'IO Wait\:':STACK \
GPRINT:cdefbc:LAST:'Current\:%8.1lf %%' \
GPRINT:cdefbc:AVERAGE:'Average\:%8.1lf %%' \
GPRINT:cdefbc:MAX:'Maximum\:%8.1lf %%\n'
RRDtool Says:
ERROR: creating arguments
I'm running RRDtool 1.4.8 on Centos 7.
Edit - found this in RRDtool if it helps:
Code: Select all
if ((argc = CreateArgs(argv[0], aLine, myargv)) < 0) {
printf("ERROR: creating arguments\n");
_DS