No Graphs missing rrd files

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

Moderators: Developers, Moderators

Post Reply
andyb28
Posts: 6
Joined: Thu Oct 09, 2008 10:39 pm

No Graphs missing rrd files

Post by andyb28 »

Please can someone help me with this problem, I have been searching for a solution all day.

I have installed cacti following a good guide from this forum and everything is working except the graphs.

When I try to view the graph, the log shows

RRDTool Says:

ERROR: opening '/usr/share/cacti/rra/foundry_traffic_in_36.rrd': No such file or directory

I have tried various solutions to this problem, I know for sure that the SNMP data is correct and working fine on the device side of Cacti.

Below I have pasted some information that may assist.

Technical Support
General Information
Date Fri, 10 Oct 2008 04:29:58 +0100
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 2
Graphs 1
Data Sources SNMP Query: 1
Total: 1
Poller Information
Interval 300
Type cmd.php
Items Action[0]: 2
Total: 2
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics
PHP Information
PHP Version 5.2.6
PHP OS Linux
PHP uname Linux iX 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:35:10 EDT 2008 i686
PHP SNMP Installed
max_execution_time 30
memory_limit 32M

Many Thanks for anyone taking the time to reply to this.
Andy
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify that the downed host detection recognizes this host as "up"
Reinhard
User avatar
noisebleed
Posts: 6
Joined: Fri Oct 20, 2006 6:05 am
Location: Porto, Portugal

Post by noisebleed »

Hi andyb28. Have you solved your problem? I'm missing some .rrd files also...
andyb28
Posts: 6
Joined: Thu Oct 09, 2008 10:39 pm

Post by andyb28 »

Hi Everyone,

My problems have now been fixed, I made some mistakes on the cron job, one of my friends took a look at it today and pointed out my error.

Now the cron job is running, the files are being produced and the graphs work.
User avatar
noisebleed
Posts: 6
Joined: Fri Oct 20, 2006 6:05 am
Location: Porto, Portugal

Post by noisebleed »

Nice :) Can you post the cron line and where did you put it (crontab, etc..)? Thanks.
andyb28
Posts: 6
Joined: Thu Oct 09, 2008 10:39 pm

Post by andyb28 »

Hi noisebleed,

Here you go.

[root@iX ~]# crontab -l
*/5 * * * * /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1

I think my confusion came from the yum version installs in /usr/share/cacti
User avatar
noisebleed
Posts: 6
Joined: Fri Oct 20, 2006 6:05 am
Location: Porto, Portugal

Post by noisebleed »

Thanks andyb28.

Which user is running that cron entry? root? I've tryed with apache and root and the results are the same.

I've some graphs but newer graphs aren't created and I don't know how to force that.

The docs say thar rrdtool puts and entry to create graphs on the next poller run but no new rrd file is created.

Permissions are ok on /log and /rra. Don't know where to turn now.

I'm checking cacti.log and cron-poller.log (see below) and everythin seems ok...

Btw, my cron is on /etc/crontab:

Code: Select all

#*/5 * * * *    apache  /usr/bin/php /usr/share/webapps/cacti/0.8.7b-r2/htdocs/poller.php > /dev/null 2>&1
*/5 * * * *     root    /usr/bin/php -q /usr/share/webapps/cacti/0.8.7b-r2/htdocs/poller.php --force --debug >> /usr/share/webapps/cacti/0.8.7b-r2/htdocs/log/cron-poller.log 2>&1
Suggestions?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests