RRD files not being created...

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

Moderators: Developers, Moderators

Post Reply
felix001
Posts: 15
Joined: Thu Sep 17, 2009 2:48 pm

RRD files not being created...

Post by felix001 »

For some reason the rrd files are not being created...

I have run the poller from the CLI but am just getting the following,

Code: Select all

[cacti@brian ~]$ vi /var/www/cacti/poller.php
[cacti@brian ~]$ /usr/bin/php /var/www/cacti/poller.php
09/18/2009 01:36:18 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '248', Max Runtime '298', Poller Runs: '1'
09/18/2009 01:36:18 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/cmd.php" 0 0]
09/18/2009 01:36:18 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/cmd.php" 9 9]
Waiting on 1/2 pollers.
09/18/2009 01:36:19 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.04' [map 1min->load_1min]
09/18/2009 01:36:19 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.02' [map 5min->load_5min]
09/18/2009 01:36:19 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_hrsystemprocess_61.rrd --template ucd_hrSystemProcess N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memtotalreal_60.rrd --template ucd_memTotalReal N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memshared_59.rrd --template ucd_memShared N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memcached_58.rrd --template ucd_memCached N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_membuffer_57.rrd --template ucd_memBuffer N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memavailreal_56.rrd --template ucd_memAvailReal N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memtotalswap_55.rrd --template ucd_memTotalSwap N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memavailswap_54.rrd --template ucd_memAvailSwap N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memtotalreal_53.rrd --template ucd_memTotalReal N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_memavailreal_52.rrd --template ucd_memAvailReal N:U
ERROR: opening '/var/www/cacti/rra/servera_ucd_hrsystemprocess_61.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memtotalreal_60.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memshared_59.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memcached_58.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_membuffer_57.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memavailreal_56.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memtotalswap_55.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memavailswap_54.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memtotalreal_53.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memavailreal_52.rrd': No such file or directory
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_15min_51.rrd --template load_1min:load_5min:load_15min N:0.04:0.02:0.00
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_15min_50.rrd --template load_15min N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_1min_49.rrd --template load_1min N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawuser_48.rrd --template ucd_ssCpuRawUser N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawsystem_47.rrd --template ucd_ssCpuRawSystem N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawnice_46.rrd --template ucd_ssCpuRawNice N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawidle_45.rrd --template ucd_ssCpuRawIdle N:U
09/18/2009 01:36:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_users_62.rrd --template users N:U
09/18/2009 01:36:19 PM - SYSTEM STATS: Time:1.3490 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:18 RRDsProcessed:18
ERROR: opening '/var/www/cacti/rra/servera_load_15min_51.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_load_15min_50.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_load_1min_49.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawuser_48.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawsystem_47.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawnice_46.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawidle_45.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_users_62.rrd': No such file or directory
Loop  Time is: 1.3528990745544
Sleep Time is: 298.64041090012
Total Time is: 1.359589099884
Im not too sure how next best to troubleshoot this. I ahve checked the permissions 100 times over... ??? Any ideas ??
felix001
Posts: 15
Joined: Thu Sep 17, 2009 2:48 pm

Post by felix001 »

In the end this was resolved by reinstalling the software and once reinstalled changing the permissions on the rra and log dirs to `755`.
jaradricc
Posts: 7
Joined: Tue Sep 22, 2009 9:17 am

Problem Solved

Post by jaradricc »

Hi,

i had the same problem,

i was trying to solve it with diferent methods, even reinstalling all.

My environment is a CentOS machine 5.3, cacti 0.8.7e and spine 0.8.7e. Both have all the released patches (except the patch that aply to windows server with IIS because I have a Linux).

The problem is with spine, I'm still working to know why with spine the rrd files aren't been created, but changing the poller to cmd.php is working.
jaradricc
Posts: 7
Joined: Tue Sep 22, 2009 9:17 am

Problem Solved (again)

Post by jaradricc »

The problem with spine was compiling it!!!


I entered to spine source folder and apply the make uninstall and make clean commands, and restarted the compile process (./configure --prefix=.... make make install)

and don't forget reconfigure de spine.conf file with your database configs and change the poller to spine in cacti settings (web interface).

that's all.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests