I'm setting up Cacti and it seems the RRDTool isn't creating the .rrd file. This is on CentOS 6.9.
Here is what I've tried so far:
- Running the command as root to eliminate permissions.
- Running the same command on another machine that has just rrdtool installed.
- Creating a new directory /test with 777, and still same error.
I believe it's an issue with the command itself, however it was generated by Cacti so unsure how there could be a syntax issue.
Do you see any issues with this below command?
Am I right in thinking it should just execute if just rrdtool is installed?
Here is the original command from Cacti:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-180000' \
--end='-30' \
--pango-markup \
--title='Name - FloatingPointGraph' \
--slope-mode \
--base=1000 \
--height=150 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--font TITLE:11:'Ariel' \
--font AXIS:8:'Ariel' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Ariel' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/usr/share/cacti/rra/GraphName.rrd':'OtherName':AVERAGE \
LINE1:a:''
The error it reports is
ERROR: opening '/usr/share/cacti/rra/GraphName.rrd': No such file or directory