Yesterday afternoon I got everything up and running on ubuntu 5.10 server with php5, apache2 and mysql 4., I used apt-get to get everything I needed, following mostly the wiki guide for ubuntu/cacti. I added about 10 devices (several cisco 6500's 7200's and a couple servers). Before I left work everything was working, graphs where being generated, poller was running like it was supposed, no errors at all. FYI on a side note not directly related Im also playing with php-weathermap. So for the cacti polling I have a shell script to run the poller.php and the weathermap script at the same time. Im not using the normal cacti cron job. Just wanted to point this out in case there where questions about how and where poller.php was running.
Anyways, this morning I got up to check everything and noticed for almost all my grahps that were working just fine I now see little red X's (no graphs). Its like the image or file dosent exsist or is missing. First thing I did was check for errors...
1. Poller error log is empty and cacti.log showed typical stuff...
Code: Select all
03/11/2006 08:10:08 AM - SYSTEM STATS: Time: 7.2613 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 13, Hosts/Process: 13, Data Sources 721, RRDs Processed 370
03/11/2006 08:05:27 AM - SYSTEM STATS: Time: 26.1499 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 13, Hosts/Process: 13, Data Sources 721, RRDs Processed 370
03/11/2006 08:00:10 AM - SYSTEM STATS: Time: 8.3070 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 13, Hosts/Process: 13, Data Sources 721, RRDs Processed 370
3. Checked the apache error.log and here is where it gets strange below is one of many error'd rrd files, check it out...
Code: Select all
<snip>
ERROR: opening '/usr/share/cacti/site/rra/localhost_proc_7.rrd': No such file or directory
<snip>
root@ks-ubuntu:/usr/share/cacti/site/rra# find / -name localhost_proc_7.rrd
/var/lib/cacti/rra/localhost_proc_7.rrd
root@ks-ubuntu:/usr/share/cacti/site/rra# ls -l | grep localhost_proc_7.rrd
-rw-r--r-- 1 root root 47840 2006-03-11 08:00 localhost_proc_7.rrd
I somewhat of a newbi to linux so at this point Im not sure where else to look at/for.
Also on another note I noticed when getting the cacti package for ubuntu its using the 0.8.6f version. What is the proper way to upgrade to the latest? Is it a simple as downloading just the 0.8.6h patches? Or do I need to get the new files for 0.8.6g then patch, next get the files for 0.8.6h then patch?