not polling - timeout
Moderators: Developers, Moderators
not polling - timeout
First time cacti user long time MRTG user. I have assisted on one Linux and one windows setup but i cannot get mine working
OS = Win2k
Cacti = 0.8.6a
PHP = 5.0.2
IIS = 5.0
RRDTools = installed
Cactid = 0.8.6
Cygwin = not installed
mysql = 4.0.21
i deleted the initial device @ install and created one for a Cisco & one for a Windows box and the status poll @ the top of the page returns properly. The poller is not functioning for me to create graphs. The task runs then hangs in the running state. No rrd files are created in my e:\cactid\rra folder. Tasks set to: e:\php\php-win.exe e:\cacti\poller.php and run as an Administrator.
Cacti Log file entries:
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
sup?
OS = Win2k
Cacti = 0.8.6a
PHP = 5.0.2
IIS = 5.0
RRDTools = installed
Cactid = 0.8.6
Cygwin = not installed
mysql = 4.0.21
i deleted the initial device @ install and created one for a Cisco & one for a Windows box and the status poll @ the top of the page returns properly. The poller is not functioning for me to create graphs. The task runs then hangs in the running state. No rrd files are created in my e:\cactid\rra folder. Tasks set to: e:\php\php-win.exe e:\cacti\poller.php and run as an Administrator.
Cacti Log file entries:
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
sup?
Post subject: not polling - timeout
I get the exact same result with both. It hangs. When i run it from the console i get two DOS windows, one of which remains open with nothing at all in it. It never closes & the tasks states that it is still running.
My lines in the php.ini
extension_dir = "e:\php\ext"
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
My lines in the php.ini
extension_dir = "e:\php\ext"
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
To eliminate reduce the potential sources of errors, if you first run c:\php\php.exe c:\<cactiroot>\cmd.php and verify everything is returning data, then you can isolate the source to the poller.php. Running from the command line also helps debug setup problems.
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?
polling - timeout
I ran the "e:\php\php.exe e:\cacti\cmd.php" as you suggested and the output looks good.
E:\>e:\php\php.exe e:\cacti\cmd.php
#!/usr/bin/php -q
10/04/2004 08:08:37 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.11.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 2442080974
10/04/2004 08:08:37 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.11.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2227386507
Still no graphs So what should be my next troubleshooting step.?
E:\>e:\php\php.exe e:\cacti\cmd.php
#!/usr/bin/php -q
10/04/2004 08:08:37 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.11.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 2442080974
10/04/2004 08:08:37 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.11.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2227386507
Still no graphs So what should be my next troubleshooting step.?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Cacti 0.8.6a will be released tonight. Recommend taking that direction and retrying "c:\php\php-win.exe c:\<webroot>\Cacti\poller.php" in scheduler after that upgrade.
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?
poll - timeout
I had my fill of the whole setup so i wipped everything out and started again with teh new b release this morning. It's polling and createing rrd files now!!! yeah.
but no graphs.
i am going to to keep @ it. Thanks.
but no graphs.
i am going to to keep @ it. Thanks.
I too have same problem
i did , in response i got
#!/usr/bin/php -q
The system cannot find the file specified.
The system cannot find the file specified.
11/19/2004 12:32:29 PM - CMDPHP: Poller[0] Time: 0.3875 s, Theads: N/A, Hosts: 3
what is the file which its unable to locate?
TheWitness wrote:To eliminate reduce the potential sources of errors, if you first run c:\php\php.exe c:\<cactiroot>\cmd.php and verify everything is returning data, then you can isolate the source to the poller.php. Running from the command line also helps debug setup problems.
TheWitness
i did , in response i got
#!/usr/bin/php -q
The system cannot find the file specified.
The system cannot find the file specified.
11/19/2004 12:32:29 PM - CMDPHP: Poller[0] Time: 0.3875 s, Theads: N/A, Hosts: 3
what is the file which its unable to locate?
Why me lord?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your system appears to be attempting to run a script that does not exist on your system. Please review your poller cache for a script "Action 1" and verify that the path is valid.
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?
this is the contents of my poller cache
their is no "action 1"
Code: Select all
View Poller Cache [2 Items]
Data Source: PIX Firewall - 5 Minute CPU
RRD: c:\apache\Apache2\htdocs\cacti\rra\pix_firewall_5min_cpu_12.rrd
Action: 0, OID: .1.3.6.1.4.1.9.2.1.58.0 (Host: 192.168.1.1, Community: public)
Data Source: PIX Firewall - 5 Minute CPU
RRD: c:\apache\Apache2\htdocs\cacti\rra\pix_firewall_5min_cpu_11.rrd
Action: 0, OID: .1.3.6.1.4.1.9.2.1.58.0 (Host: 192.168.1.1, Community: public)
Why me lord?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Change your ping method to SNMP only. The PIX blocks ICMP/UDP ping. I will be changing this in 0.8.7 (aka one availability method for all hosts).
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?
Who is online
Users browsing this forum: No registered users and 1 guest