Need some help over here. I ve installed cacti-0.8.6(i)j on Centos 4.
I m having the problem that only build in graphs and localhost graphs work.
If I add another host, snmp traffic on a router or a simple ping to another host.
Poller.php runs never ends.
My main problem is that as soon as I add a new graph, the poller enters a loop.
I'm getting al lot of these messages in cacti.log
And on poller log:CMDPHP: Poller[0] DEBUG: SQL Assoc: "selec poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000
This happens nevertheless I execute the poller from crontab or from commandline.POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/cacti/cmd.php 0 4]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
<a lot of this> ..
I've been reading FAQ and done some search on the forum.
I've seen that there where other that got problems with the i version so I reinstalled the j version form rpmforge. (Deleted first the old one).
http://forums.cacti.net/about21457.html
But this did not really help.
So I continued searching and got this post.
http://forums.cacti.net/about21355.html
Think this got close to my problem but im not getting how he fixed it.
What I did until now.
I deactivated all Devices. And increased the log level to Debug.
Then I reactivated my ping device. Just to get sure that's the only thing I got in log.
I start the command /usr/bin/php /var/www/cacti/cmd.php 4 4 (4 is my ping test host_id)
It seems to run, command starts and writes some lines to log, and ends again.
Now I try this with poller.php having all devices deactived only host_id 4 activated.
Same again poller.php enters loop and gets killed by timeout.
Now I went to poller cache and grabbed the command string and pasted it to command line. And it works perfectly returning a value.
I checked the rrd database but it doesnt exist. Database hasnt been created.
But if I execute the Data source debug result in command line it is created.
Hope someone can give me a hand on this.
Here are my system data.
PHP
PHP 4.3.11 (cgi) (built: Jul 10 2006 15:19:32)
php.ini memory setting = memory_limit = 128M (Have seen this on some post)
OS
Centos 4 kernel 2.6.9-34.0.2.ELsmp
Perl
This is perl, v5.8.5 built for i386-linux-thread-mult
SNMP
net-snmp-perl-5.1.2-11.EL4.10
php-snmp-4.3.11-2.8
net-snmp-utils-5.1.2-11.EL4.10
net-snmp-libs-5.1.2-11.EL4.10
net-snmp-5.1.2-11.EL4.10
Mysql
mysql-devel-4.1.20-2.RHEL4.1
php-mysql-4.3.11-2.8
mysql-4.1.20-2.RHEL4.1
mysql-server-4.1.20-2.RHEL4.1
RRD tool
rrdtool-1.0.50-3.2.el4.rf
- Just to get it clear.
Poller works fine if I only use the graphs that came with installation or I add a localhost graph like disk space.