Almost everything is working great for the Disk I/O template with the exception of 2 of the 3 graphs, Device I/O Reads/Writes and Load Average. I did a debug output of the Read/Writes graph and noticed the
ERROR: the RRD does not contain an RRA matching the chosen CF
At the bottom, any ideas on how to fix that?
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="file002 - Device I/O - Reads/Writes sda" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Reads/Writes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Reads:LAST \
DEF:b="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Reads:MAX \
DEF:c="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Writes:LAST \
DEF:d="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Writes:MAX \
LINE1:a#0000FFFF:"Device Reads\:" \
GPRINT
LAST:" Last\:%8.0lf" \
GPRINT
MIN:"Minimum\:%8.0lf" \
GPRINT
AVERAGE:"Average\:%8.0lf" \
GPRINT
MAX:"Maximum\:%8.0lf\n" \
LINE1:c#FF0000FF:"Device Writes\:" \
GPRINT:c:LAST:"Last\:%8.0lf" \
GPRINT:d:MIN:"Minumum\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF