Blank Cacti Graphs
Posted
by
tortib
on Ask Ubuntu
See other posts from Ask Ubuntu
or by tortib
Published on 2014-08-21T04:01:38Z
Indexed on
2014/08/21
4:31 UTC
Read the original article
Hit count: 466
I'm running Ubuntu 14.04 LTS and I'm having an issue with Cacti 0.8.8b not displaying any data in graphs. The graphs are being created and I see files in /var/lib/cacti/rra. My crontab entry for root is the following:
*/1 * * * * sudo -u www-data php -q /usr/share/cacti/site/poller.php > /dev/null
The output of ls -la /var/lib/cacti/rra
is the following:
# ls -la /var/lib/cacti/rra/
total 1008
drwxrwx--- 2 www-data www-data 4096 Aug 20 19:27 .
drwxr-xr-x 3 www-data www-data 4096 Aug 17 01:41 ..
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:23 tortib_com_cpu_nice_34.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:24 tortib_com_cpu_system_35.rrd
-rw-rw-r-- 1 www-data www-data 47992 Aug 20 19:25 tortib_com_cpu_user_36.rrd
-rw-r--r-- 1 www-data www-data 94816 Aug 20 19:27 tortib_com_hdd_used_43.rrd
-rw-r--r-- 1 www-data www-data 94816 Aug 20 19:23 tortib_com_hdd_used_44.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:27 tortib_com_load_15min_38.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:26 tortib_com_load_1min_37.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:23 tortib_com_load_5min_39.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:24 tortib_com_mem_buffers_40.rrd
-rw-rw-r-- 1 www-data www-data 47992 Aug 20 19:25 tortib_com_mem_cache_41.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:26 tortib_com_mem_free_42.rrd
-rw-r--r-- 1 www-data www-data 94816 Aug 20 19:24 tortib_com_traffic_in_45.rrd
-rw-rw-r-- 1 www-data www-data 94816 Aug 20 19:25 tortib_com_traffic_in_46.rrd
-rw-r--r-- 1 www-data www-data 94816 Aug 20 19:26 tortib_com_traffic_in_47.rrd
-rw-r--r-- 1 www-data www-data 47992 Aug 20 19:27 tortib_com_users_48.rrd
I tried to run the poller as root from the command line but it doesn't output anything useful nor does it graph any data. The device in cacti shows that that it's able to query snmp and ping is alive.
The graphs are still empty though. snmpwalk 127.0.0.1 -v2c -c public
works as it should. It walks all MIBs. I'm quite perplexed as to why this isn't working any longer. It was graphing data but then it just stopped. And when it was graphing data it was graphing it intermittently.
Thank you for reading this problem and helping.
© Ask Ubuntu or respective owner