(Thanks for your help!)
Arg. This is driving me crazy.
There are no sql errors in the logfiles.
It seems like the Cacti user is not creating new RRD files either. What really bugs me is that the debug logs contain no output which look like 'rrdtool create' anywhere.
I try to create a new device called 'webdev4-test', and then I create couple of graphs. There are no errors in the GUI during creation, and I even see message like this in the logfile:
Code: Select all
09/21/2006 11:05:18 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="webdev4-test - Used Space - /" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="/srv/www/htdocs/cacti/rra/webdev4test_hdd_total_496.rrd":hdd_total:AVERAGE DEF:b="/srv/www/htdocs/cacti/rra/webdev4test_hdd_total_496.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"
Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINT:b:LAST:" Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" COMMENT:"Graph last updated on Wed 20 Sep 14:35:08 PDT 2006"
However, later on I see errors like this:
Code: Select all
ERROR: opening '/srv/www/htdocs/cacti/rra/webdev4test_hdd_total_496.rrd': No such file or directory
If I "Turn On Data Source Debug Mode" for this datasource, I see the following lines but no errors.
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/srv/www/htdocs/cacti/rra/webdev4test_hdd_total_496.rrd \
--step 300 \
DS:hdd_total:GAUGE:600:0:U \
DS:hdd_used:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
But the file is never created.
I can even execute this command on the commandline without error, as user 'cacti'.