CACTID: Poller[0] Host[148] ERROR: The POPEN timed out

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
jolramospr
Posts: 32
Joined: Mon Aug 07, 2006 2:32 pm
Location: PR
Contact:

CACTID: Poller[0] Host[148] ERROR: The POPEN timed out

Post by jolramospr »

Cacti is generating the following error message:

CACTID: Poller[0] Host[148] ERROR: The POPEN timed out.

This is causing all my Smoke ping and Advanced Ping graphs to stop graphing data collected.

:( :( :( :o :o :o
jolramospr
Posts: 32
Joined: Mon Aug 07, 2006 2:32 pm
Location: PR
Contact:

Post by jolramospr »

I fortgot to copy more information about the problem. Here is the complete log lines about it. I was using perl with no problem. How I can disable PHP to try to run this perl scritps?? The graph templates are running the perl script.

04/23/2007 10:46:22 AM - CACTID: Poller[0] Host[148] ERROR: The POPEN timed out
04/23/2007 10:46:22 AM - CACTID: Poller[0] Host[148] DS[1014] WARNING: Result from SCRIPT not valid. Partial Result: ...
04/23/2007 10:46:22 AM - CACTID: Poller[0] Host[148] DS[1014] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 200.88.114.17, output: U
Attachments
cacti_graph_template_smoke_ping.xml
This is the smokeping template I am using to graph latency.
(28.74 KiB) Downloaded 198 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run cactid from the command line in DEBUG on time for the host in question:

./cactid host_id host_id

Where you obtain host_id by editing the host and looking in the address bar of your browser for host_id=???

TheWitness

post output.
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?
jolramospr
Posts: 32
Joined: Mon Aug 07, 2006 2:32 pm
Location: PR
Contact:

Post by jolramospr »

Here is the output:

[root@cacti cactid]# ./cactid 148 148
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6h starting
CACTID: Host[148] SNMP Result: Host responded to SNMP
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[973] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[973] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 192.168.32.2, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[976] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[976] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 192.168.32.2, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1014] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1014] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 200.88.114.17, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1013] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1013] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 208.54.234.1, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1015] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1015] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 38.113.96.116, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1017] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1017] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 66.231.234.73, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1018] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1018] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 66.231.235.5, output: U
CACTID: Host[148] ERROR: The POPEN timed out
CACTID: Host[148] DS[1016] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[148] DS[1016] SCRIPT: /usr/bin/perl /var/www/html/scripts/ping-latency.pl 72.21.14.33, output: U
CACTID: Host[148] DS[974] SNMP: v1: 192.168.32.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, value: 871232461
CACTID: Host[148] DS[1258] SNMP: v1: 192.168.32.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, value: 3896551017
CACTID: Host[148] DS[975] SNMP: v1: 192.168.32.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 543895316
CACTID: Host[148] DS[974] SNMP: v1: 192.168.32.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, value: 428060561
CACTID: Host[148] DS[1258] SNMP: v1: 192.168.32.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, value: 4007855512
CACTID: Host[148] DS[975] SNMP: v1: 192.168.32.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, value: 2794272479
CACTID: Time: 80.4880 s, Threads: 30, Hosts: 2
[root@cacti cactid]#
jolramospr
Posts: 32
Joined: Mon Aug 07, 2006 2:32 pm
Location: PR
Contact:

Post by jolramospr »

Here is the output of the ./cactid 148 148 in DEBUG mode.
Attachments
cactid.txt
output of the ./cactid 148 148 DEBUG mode
(11.54 KiB) Downloaded 177 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Two things, first do the following:

"which perl" and verify you have the correct path.

edit the perl script and look for the line starting wiht "#!/bin/perl" make sure it matches with the real path.

You may have to change your Data Input Method to reflect the correct path and then Repopulate your Poller Cache.

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?
jolramospr
Posts: 32
Joined: Mon Aug 07, 2006 2:32 pm
Location: PR
Contact:

Post by jolramospr »

did it but the problem persists.
Attachments
ping-latency.zip
Here is the perl script and the template
(5.04 KiB) Downloaded 155 times
spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

HELP!!!
/home/www/htdocs/cacti# /usr/local/cactid/cactid 39 39
CACTID: MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)

I get this trying to repair some similar errors with POPENs etc....
I dont have a user named cactiuser...its not in my cactid.conf. I dont even see it in my mysql users table... any suggestions..

Cactid runs and i have graphss...now with lots of gaps and lots of POPens errors in logs. and time outs...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

CACTID: MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
Looks like your cactid.conf file is not accurate.

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?
spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

my cactid.conf

DB_Host localhost
DB_Database cactidb
DB_User cacti
DB_Pass cacti
DB_Port 3306


I dont even use cactiuser as my cacti user.?? don't know where its pulling that from? Where else could that be stored?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Where is the file located? Place it in the binary location and not in /etc. I think I discovered an issue with it being in /etc. Some contributed code or some change I made. Sorry.

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?
spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

my cactid binary and cactid.conf are in /usr/local/cactid/
Something has changed and I cant figure it out. All my graphs jsut started gapping...only the one's called by perl scripts maily...snmp stuff is fine. Been upgrading pieces one by one to try and figure it out. I can't seem to get cactid upgraded though. I am on version e now. everytime i try and compile version i it seems to be a much smaller file than the one i have now the cactid binary i mean. Does that seem right?


Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests