Cactiusers.org


It is currently Mon May 21, 2012 5:44 pm




Post new topic Reply to topic  [ 4 posts ] 
 Poller error after implementing pluginpatch and plugin THOLD 
Author Message
New User

Joined: Tue Jul 10, 2007 2:09 pm
Posts: 5
Post 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"


Wed Jul 11, 2007 5:08 am
User

Joined: Fri Dec 08, 2006 2:48 pm
Posts: 26
Post 
check your config.php file and verify your users id's and passwords.


Wed Jul 11, 2007 9:31 am
New User

Joined: Tue Jul 10, 2007 2:09 pm
Posts: 5
Post 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


Thu Jul 12, 2007 12:59 am
New User

Joined: Tue Jul 10, 2007 2:09 pm
Posts: 5
Post [SOLVED]
I solved the problem.

Changed form poller.
now i'm using cactid and all works fine...

Regards,

Bart Lubberdink


Thu Jul 12, 2007 5:12 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: