[solved] graphs - rrd/ files not being created

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
adduser
Posts: 2
Joined: Mon Jul 15, 2013 12:24 pm

[solved] graphs - rrd/ files not being created

Post by adduser »

Apologies in advance for this thread because I know there are a dozen others that are very similar. If there is a modern answer somewhere then please let me know.

I have several Cacti installations on different servers & they all work fine. All of them are on CentOS 5.*, except this new one that has graphing issues; it is running CentOS 6.4.

Here are the details:

Cacti Version 0.8.8a

# tail -f /var/log/httpd/error_log
ERROR: opening '/var/www/cacti/rra/localhost_proc_7.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/localhost_users_6.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_3.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/localhost_users_6.rrd': No such file or directory


# tail -f /var/www/cacti/log/cacti.log
07/15/2013 10:20:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/15/2013 10:20:00 AM - SYSTEM STATS: Time:298.4646 Method:spine Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
07/15/2013 10:24:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/15/2013 10:24:00 AM - SYSTEM STATS: Time:298.5466 Method:spine Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0


# ll |grep rra
drwxrwxr-x. 2 cacti cacti 4096 Jul 15 08:40 rra


I thought it was a permission issue so I set rra/ to 777 but that did not solve the problem. Localhost status is 'unknown' & I've tried re-adding it. The settings in spine.conf & config.php are correct.

Any assistance would be appreciated.

Thank you
Last edited by adduser on Mon Jul 15, 2013 5:11 pm, edited 1 time in total.
adduser
Posts: 2
Joined: Mon Jul 15, 2013 12:24 pm

Re: graphs - rrd/ files not being created

Post by adduser »

[solved]

Code: Select all

ln -s /usr/local/spine/etc/spine.conf.dist /usr/local/spine/etc/spine.conf
c7borg
Posts: 11
Joined: Mon Mar 13, 2006 9:39 am

Re: [solved] graphs - rrd/ files not being created

Post by c7borg »

Just to add to this as I made this simple mistake I forgot to highlight the associated RRA's on the data source creation page under CONSOLE>MANAGMENT>DATA SOURCES.

If these aren't highlighted (crtl+click) the rrd files will not be created.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests