|
|
| Author |
Message |
ugob
Joined: 21 Jun 2007 Posts: 23
|
Posted: Wed Jul 30, 2008 3:53 pm Post subject: rrdtool no such file or directory |
|
|
Hi,
I've been using cacti for a while, and now whenever I add a host, the interface graph that I ask for doesn't work.
When I go in graph management, click on the graph, then turn on debug mode, I get:
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/server_traffic_in_1657.rrd': No such file or directory
I've tried everything that seemed relevant here: http://docs.cacti.net/node/283
but it is still not working.
The permissions are ok. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Wed Jul 30, 2008 9:47 pm Post subject: |
|
|
Check your poller cache, are there entries there? What happens when you login as the poller user and run the command by hand?
| Code: | | php -q poller.php -f |
TheWitness |
|
| Back to top |
|
 |
ugob
Joined: 21 Jun 2007 Posts: 23
|
Posted: Thu Jul 31, 2008 7:37 am Post subject: |
|
|
Yes, there are entries for these graphs in the poller cache, in fact they're even there twice.
php -q poller.php -f gives something like this (I cut some of the OK u .xx s: x.xx r .xx at top)
| Code: | OK u:0.01 s:0.02 r:2.16
OK u:0.01 s:0.02 r:2.16
OK u:0.01 s:0.02 r:2.16
No log handling enabled - turning on stderr logging
read_config_store open failure on /var/net-snmp/spine.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
07/31/2008 08:35:55 AM - SYSTEM STATS: Time:4.3060 Method:spine Processes:1 Threads:25 Hosts:30 HostsPerProcess:30 DataSources:535 RRDsProcessed:238
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
|
Thanks, |
|
| Back to top |
|
 |
ugob
Joined: 21 Jun 2007 Posts: 23
|
Posted: Tue Aug 05, 2008 9:57 am Post subject: |
|
|
Anyone has an idea of what could be wrong?
I can't add any new interface graphs, but all current graphs are working ok. If I create another kind of interface (like in/out bits + total bandwidth), it works ok. Only Interface - Traffic (bits/sec) graph doesn't work.
Please let me know if you need more info. |
|
| Back to top |
|
 |
arevelo
Joined: 07 Aug 2008 Posts: 6 Location: ecuador
|
Posted: Thu Aug 07, 2008 9:10 pm Post subject: poller doesn't run |
|
|
pleaaaase
i have run poller.php from cli but I think isn't working 'cause i only recive these lines:
[root@localhost cacti]# php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.9
any idea please , I havent done any graph with cacti yet, and i belive that poller is the problem
tks |
|
| Back to top |
|
 |
|