Problems after upgrading to 08.6f

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Andrew,

First of all, the 5 RRD's processed could have been caused by a "clear poller cache" taking place during the beginning of a polling cycle, at the first thing it does is truncate the poller_item table.

Secondly, have you considered php_snmp? If you use it, combined with cmd.php, you might be spared the problems. UCD-SNMP has been tested quite some time ago and should be clean. The way to verify that is to run 1 poller run in DEBUG and review/post the output. You can use PM again if you wish.

Do me a favor and run "php -m" and post the results as well.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Andrew,

One last thing, update Cactid to 0.8.6e and you should have less of a problem with hung processes.

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?
andrew2
Cacti User
Posts: 64
Joined: Mon Jul 26, 2004 2:50 pm
Location: Cincinnati, OH
Contact:

Post by andrew2 »

Looks like upgrading Cactid to 0.8.6e did the trick. Load average is now back down to normal levels and so far no defunct cactid processes hanging around. Still not sure why cmd.php doesn't seem to work anymore as the poller, but it's been awhile (and probably a few Cacti versions) since I've used that as the poller so there's no telling how long that's been broken and I'm not terribly worried about it in any case.

Thanks for all the help!

Andrew
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

I'm having the same problem. Many of my graphs mysteriously stopped updating yesterday at around noon. Some are working - it's as though the poller gets to a certain point and just stops as though it doesn't know there's more data sources to poll. Here's what I've done so far to get this to work:

1. Followed all suggestions in this thread.
2. Change to cactid - failed and exceeds max runtime, even though there's only 12 devices configured and less than 50 data sources.
3. Turned on logging to DEBUG, but nothing of interest appears to be showing up.

I'm on Version 0.8.6f, Fedora Core 3, both cacti and FC3 have the latest patches.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

To run cactid, you must first test at the command line to insure that it's working correctly.

cd <cactid_directory>
./cactid (unix) or cactid.exe

Do this in debug mode.

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?
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

Okay, so 10 minutes after posting this, my graphs suddenly decided to start working. wtf? I had done nothing since the original posting and had left it for tomorrow to work on.

Does the polling cache get "stuck" ever? I mean, I regenerated the cache, as well as deleted the info from the DB, per a previous suggestion.
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

BTW, your suggestion on cactid worked as well. The database access info had to be set. I just noticed that the link to "Compiling on Unix/Linux" explains this - IMO, it should be on the main installation page, as there is no compiling when installing the RPM through yum.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you deleted any devices from your database recently?

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?
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

I did in fact delete a device and also got rid of a few data sources that just didn't work anymore. However, this was all done some hours prior to cacti working again. I cleared the poller cache at least four times that day in hopes that this was the problem. This really isn't the first time cacti has stopped working and then "magically" started working. I know it's not magic, but I can't find any specific thing that I had done to make it work again :roll:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

bleearg,

Try on the attached patch for a while and let me know if things improve. I am tracking an issue right now that might be related. Also, if you are using 0.8.6f, check the web site for official patches and apply them.

http://forums.cacti.net/viewtopic.php?t=8583

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?
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

Thanks! I did apply the two newest patches this morning. And now that I think about it, I do remember seeing somewhere that one of my .rrd files was "not found". I had attributed it to a poorly-done upgrade a couple of weeks ago (in an attempt to solve this problem).
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you know which one it is, please Export it to XML. Then provide me with the RRDTool create syntax from the Data Source as well as the Graph syntax.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests