Having a problem with new release of cactid. I have installed cacti 0.8.6e, and with cmd.php all works fine. when i try to turn on cactid poller insted of cmd.php, all hosts showing "down" under "devices" menu and no rrd files being updated nor creating new ones.
is it possible to solve this problem?
Cactid-0.8.6e poller problem
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17051
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please turn on DEBUG in Cacti, then open a shell and cd to the cactid binary directory and run ./cactid. Capture it's output and post.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 9
- Joined: Tue Jun 28, 2005 3:32 am
Hi, this is my output
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_destination variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The path_php variable is /usr/bin/php
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The availability_method variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_recovery_count variable is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_failure_count variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_method variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_retries variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_timeout variable is 400
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_perror variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_pwarn variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_pstats variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The threads variable is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The polling interval is the system default
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The number of concurrent processes is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The script timeout is 25
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: StartHost='0', EndHost='0', TotalPHPScripts='0'
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The PHP Script Server is Not Required
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Version 0.8.6e starting
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Initializing Net-SNMP API
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Initializing PHP Script Server
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Parent pid=28091, Script Server pid=0
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Initial Value of Active Threads is 0
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] SNMP Result: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='2', status_fail_date='2005-06-28 15:56:00',status_rec_date='2005-06-28 01:25:03',status_last_error='Host did not respond to SNMP',min_time='9.999990',max_time='999.999990',cur_time='190.360000',avg_time='224.168470',total_polls='301',failed_polls='41',availability='86.3787' where id='1'
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] SNMP Result: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='2', status_fail_date='2005-06-28 15:56:00',status_rec_date='2005-06-28 01:25:04',status_last_error='Host did not respond to SNMP',min_time='7.260000',max_time='571.190000',cur_time='13.980000',avg_time='52.129300',total_polls='299',failed_polls='39',availability='86.9565' where id='3'
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 2
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
06/28/2005 03:57:19 PM - CACTID: Poller[0] CACTID: Shutting down Net-SNMP API
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The path_php variable is /usr/bin/php
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The availability_method variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_recovery_count variable is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_failure_count variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_method variable is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_retries variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The ping_timeout variable is 400
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_perror variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_pwarn variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The log_pstats variable is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The threads variable is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The polling interval is the system default
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The number of concurrent processes is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The script timeout is 25
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: StartHost='0', EndHost='0', TotalPHPScripts='0'
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The PHP Script Server is Not Required
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Version 0.8.6e starting
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Initializing Net-SNMP API
06/28/2005 03:57:18 PM - CACTID: Poller[0] CACTID: Initializing PHP Script Server
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Parent pid=28091, Script Server pid=0
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Initial Value of Active Threads is 0
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] SNMP Result: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='2', status_fail_date='2005-06-28 15:56:00',status_rec_date='2005-06-28 01:25:03',status_last_error='Host did not respond to SNMP',min_time='9.999990',max_time='999.999990',cur_time='190.360000',avg_time='224.168470',total_polls='301',failed_polls='41',availability='86.3787' where id='1'
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 2
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 3
06/28/2005 03:57:18 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'naujas' on 'localhost'...
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] SNMP Result: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
06/28/2005 03:57:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='2', status_fail_date='2005-06-28 15:56:00',status_rec_date='2005-06-28 01:25:04',status_last_error='Host did not respond to SNMP',min_time='7.260000',max_time='571.190000',cur_time='13.980000',avg_time='52.129300',total_polls='299',failed_polls='39',availability='86.9565' where id='3'
06/28/2005 03:57:18 PM - CACTID: Poller[0] Host[3] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 2
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
06/28/2005 03:57:19 PM - CACTID: Poller[0] CACTID: Shutting down Net-SNMP API
06/28/2005 03:57:19 PM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
The problem stems from Host did not respond to SNMP.
What version of net-snmp are you using?
Manually running it against a remote machine works?
What version of net-snmp are you using?
Manually running it against a remote machine works?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17051
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There are some issues in various Linux builds where cactid appears to build properly but will not run due to multiple versions of Net-SNMP and subsequent libraries being installed.
This is likely the cause of the problem. Please research. There are a few posts on the board that elude to this.
TheWitness
This is likely the cause of the problem. Please research. There are a few posts on the board that elude to this.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 6 guests