cacti 0.8.6d: polling process lock up
Moderators: Developers, Moderators
Downloaded the new poller.php, now it doesn't run cactid at all.
I get Content-type: and X-Powered-By: and then it returns me to my shell prompt, no errors, nada.
Ideas?
[EDIT]
If I manually call cmd.php it runs but is only running one poller at a time.
Same if I manually run cactid. So, for some reason the new poller.php isn't running the specified poller?
I get Content-type: and X-Powered-By: and then it returns me to my shell prompt, no errors, nada.
Ideas?
[EDIT]
If I manually call cmd.php it runs but is only running one poller at a time.
Same if I manually run cactid. So, for some reason the new poller.php isn't running the specified poller?
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You likely overwrote <path_cacti>/poller.php with <path_cacti>/lib/poller.php. Not good.
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?
No change with the new lib/poller.php, still getting the same gaps.
Is there any way to roll back to 'c' short of dropping the db, loading the backup and putting the old version back? At this point a working cacti is more important then having the newest cacti since we do use it for watching production servers and trending.
If there's something else I can try before rolling back, let me know, otherwise I really have no choice.
Thanks for the help so far!
Is there any way to roll back to 'c' short of dropping the db, loading the backup and putting the old version back? At this point a working cacti is more important then having the newest cacti since we do use it for watching production servers and trending.
If there's something else I can try before rolling back, let me know, otherwise I really have no choice.
Thanks for the help so far!
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You can replace the previous files (0.8.6c) with patches and then change the version table to 0.8.6c and you will be finished.
TheWitness
Did you update any other software? PHP, MySQL, Net-SNMP, etc. Are you using Cactid or cmd.php?
TheWitness
TheWitness
Did you update any other software? PHP, MySQL, Net-SNMP, etc. Are you using Cactid or cmd.php?
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?
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Can you AIM or MSM?
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?
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Or NetMeeting?
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?
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please try this cmd.php and let me know if it corrects the problem.
TheWitness
TheWitness
- Attachments
-
- cmd.zip
- (4.33 KiB) Downloaded 182 times
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?
I'm using cactid and I'm on MSN/AOL/Yahoo (prefer Yahoo). So far I haven't changed back, so if you'd like me to try cmd.php instead of cactid that's not a problem. PM me your IM info and I'll get in touch with you tomorrow (Monday) if you have time? I'll be at work and be able to dedicate time to this pretty much any time between 9am and 5pm PST (GMT-8). Right now I'm going to bed.
Thanks again
Thanks again
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I am suspecting that the problem, if not due to the lib/poller changes is due to an issue with snmp timeouts getting the sysUptime variable from heavily loaded systems. Therefore, I have changed the behavior of cmd.php to not issue a spike kill when it does not receive a valid sysUptime response. Before you go increasing your timeouts, try this out first. If it works, I will move into Cactid 0.8.6e RC6 as well.
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?
Lots of things happened today!
My new cacti server finally got built and is currently being tested and tweaked. New server is Linux x86_64 (AMD64). Got the .rrd files converted for the new arch, db data copied over, etc. In the process I went back to 0.8.6c as well.
Just wanted to let you know where I was at today and that certain things have or will be changing soon.
My new cacti server finally got built and is currently being tested and tweaked. New server is Linux x86_64 (AMD64). Got the .rrd files converted for the new arch, db data copied over, etc. In the process I went back to 0.8.6c as well.
Just wanted to let you know where I was at today and that certain things have or will be changing soon.
I'm experiencing a similar problem. I've used the new cmd.php and poller.php (replacing the poller.php file in lib/), and some graphs have been generated, but others have not.
Number of hosts: 65
Number of scripts: 5
RRD files: 500
OS: FreeBSD 5.3
MySQL: 4.1.11
PHP: 4.3.10
Net-SNMP: 5.2.1
When I use cmd.php, these is the result I'm now getting:
05/14/2005 05:50:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/14/2005 05:50:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/14/2005 05:50:01 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Manually running php poller.php outputs this:
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[...]
BUT occassionally it works, and the information is polled and the information is graphed properly.
Very weird.
Unfortunately I've fubared by back-up of my 0.8.6c DB. Is it possible to down-grade to that version? I'll make the changes to the DB manually if I have to.
-- Stephen
Number of hosts: 65
Number of scripts: 5
RRD files: 500
OS: FreeBSD 5.3
MySQL: 4.1.11
PHP: 4.3.10
Net-SNMP: 5.2.1
When I use cmd.php, these is the result I'm now getting:
05/14/2005 05:50:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/14/2005 05:50:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/14/2005 05:50:01 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Manually running php poller.php outputs this:
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[...]
BUT occassionally it works, and the information is polled and the information is graphed properly.
Very weird.
Unfortunately I've fubared by back-up of my 0.8.6c DB. Is it possible to down-grade to that version? I'll make the changes to the DB manually if I have to.
-- Stephen
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Stephen,
To backoff the 0.8.6d database, just replace the files in the various directories and modify the version table in mysql. Change the value in the one and only row to 0.8.6c
TheWitness
p.s. I believe this error is due to a problem in php. You might just be able to back off the lib/poller.php from the previous version. Give that a whirl first .
To backoff the 0.8.6d database, just replace the files in the various directories and modify the version table in mysql. Change the value in the one and only row to 0.8.6c
TheWitness
p.s. I believe this error is due to a problem in php. You might just be able to back off the lib/poller.php from the previous version. Give that a whirl first .
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 9 guests