Cacti doesn't display graphs
Moderators: Developers, Moderators
Cacti doesn't display graphs
Just installed Cacti yesterday, followed this manual on how to install it:
http://www.ubuntugeek.com/networkserver ... erver.html
I have version 0.8.7d of cacti and rrdtool 1.2.30.
I was able to install everything successfully, but when I'm in Cacti I don't see any graphs.... What could be wrong? How can I diagnose the problem?
Thanks
http://www.ubuntugeek.com/networkserver ... erver.html
I have version 0.8.7d of cacti and rrdtool 1.2.30.
I was able to install everything successfully, but when I'm in Cacti I don't see any graphs.... What could be wrong? How can I diagnose the problem?
Thanks
Yes, it means the RRD was not created. But most of the steps in the NaN documentation also help with figuring out why the graphs are not being created. Until we actually get some useful information so we could diagnose the issue (like his cacti.log) then all we can do is point him to documentation so he can try and debug the issue himself.
If its a fresh install (as he states) then usually it is not a Template issue, unless he was mucking about in places he shouldn't. The Graph Debug won't usually tell you anything useful either. He needs to check the permissions on the rra folder, and to check his cacti log for errors. Both of which are explained in the doc provided.
If its a fresh install (as he states) then usually it is not a Template issue, unless he was mucking about in places he shouldn't. The Graph Debug won't usually tell you anything useful either. He needs to check the permissions on the rra folder, and to check his cacti log for errors. Both of which are explained in the doc provided.
The cacti log only gives me a list of admin logins
I turned on debug in the graph management and got this:
ERROR: opening '/var/www/cacti/rra/localhost_5min_cpu_11.rrd': No such file or directory
What could be causing this?
etc.03/06/2009 01:55:02 AM - AUTH LOGIN: User 'admin' Authenticated
03/08/2009 01:23:00 AM - AUTH LOGIN: User 'admin' Authenticated
03/09/2009 06:56:55 PM - AUTH LOGIN: User 'admin' Authenticated
I turned on debug in the graph management and got this:
ERROR: opening '/var/www/cacti/rra/localhost_5min_cpu_11.rrd': No such file or directory
What could be causing this?
That seems to be correct, I looked at my crontab and it didn't include a job for the proller.
I added this to my crontab
But it didn't seem to change anything, so I ran it manually.
That gave me empty graphs, so I see I'm getting somewhere...
Now my log is like this:
I added this to my crontab
Code: Select all
*/5 * * * * cactiuser php /var/www/cacti/poller.php > /dev/null 2>&1
Code: Select all
sudo php /var/www/cacti/poller.php
Now my log is like this:
Code: Select all
03/09/2009 10:20:25 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, b
ut 1133 seconds have passed since the last poll!
03/09/2009 10:20:27 PM - SYSTEM STATS: Time:1.2880 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:8
03/09/2009 10:26:14 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, b
ut 349 seconds have passed since the last poll!
03/09/2009 10:26:16 PM - SYSTEM STATS: Time:1.2690 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:8
Who is online
Users browsing this forum: No registered users and 4 guests