|
blubberdink
New User
Joined: Tue Jul 10, 2007 2:09 pm Posts: 5
|
 Poller error after implementing pluginpatch and plugin THOLD
Hello,
I'm running Cacti 0.8.6j build by RPM on RedHat AS4.
PHP version: 4.3.9
I did a clean install of Cacti 0.8.6j (by source or RPM, no difference)
I applied the patch "cacti-plugin-arch" and the THOLD plugin afther that.
This seems to work fine on the website (Tresholds tab etc.)
I added one device as a generic SNMP enabled device.
now the poller doesn't run annymore!
Below is what is in the cacti logfile.
I'm working on it for two days now but can't locate the problem.
Any help would be great.
Regards,
Bart Lubberdink
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/var/
www/cacti')"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
07/10/2007 07:52:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/cacti
/cmd.php 0 191]
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >=
0 AND id <= 191) ORDER by id"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 0 AND
host_id <= 191) ORDER by host_id"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AN
D (host_id >= 0 AND host_id <= 191))"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/cacti
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/cacti
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/cacti/script_server.php
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/10/2007 07:52:01 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
07/10/2007 07:52:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_outp
ut.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"
07/10/2007 07:52:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
07/10/2007 07:52:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
07/10/2007 07:52:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_outp
ut.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"
|
|
blubberdink
New User
Joined: Tue Jul 10, 2007 2:09 pm Posts: 5
|
 reply
Hello,
The username and password are correct.
Inserting a new device etc works fine.
The database is reacheble.
The default device (Local Linux Machine) works as long as there are no other devices configured.
Regards,
Bart
|
|
blubberdink
New User
Joined: Tue Jul 10, 2007 2:09 pm Posts: 5
|
 [SOLVED]
I solved the problem.
Changed form poller.
now i'm using cactid and all works fine...
Regards,
Bart Lubberdink
|