Cacti stopped graphing > Getting "Waiting on 1/1 pol

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

Moderators: Developers, Moderators

Post Reply
cmcguire
Posts: 15
Joined: Mon Dec 06, 2004 12:54 pm
Location: Salt lake City

Cacti stopped graphing > Getting "Waiting on 1/1 pol

Post by cmcguire »

When I came in to work this morning I noticed that Cacti has not graphed any thing for the last 12 hours. When I do a php /var/www/html/cacti/poller.php I get the following:

[root@fdt-es1 /]# php /var/www/html/cacti/poller.php
X-Powered-By: PHP/4.2.2
Content-type: text/html

Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.

Nothing has been changed to the configuration of Cacti and it has worked reliably for 4 months.

Any help would be much appreciated.

Thanks!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Aren't you a linux user and should be posting in the linux forum?

I just had/have the same problem (look in this forum). Never really did find a cause/fix. It just went away.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Post moved from Windows section...

As for your issue, do you have any stuck php or rrdtool processes?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cmcguire
Posts: 15
Joined: Mon Dec 06, 2004 12:54 pm
Location: Salt lake City

Post by cmcguire »

Well, I am not sure. What is the best way to find out? Sorry for my lack of experience. Really new!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you are running a version of Cacti before 0.8.6c, please upgrade. Cacti versions prior to 0.8.6c had a bug that caused the poller to crash when a polled host was rebooted.

Once you have upgraded, you need to run the following MySQL command from the MySQL terminal session:

mysql --user=root --password cacti
> truncate table poller_output;
> quit

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?
wkcole
Posts: 2
Joined: Fri Apr 15, 2005 5:43 pm
Location: Auburn Hills MI

Post by wkcole »

TheWitness wrote:If you are running a version of Cacti before 0.8.6c, please upgrade. Cacti versions prior to 0.8.6c had a bug that caused the poller to crash when a polled host was rebooted.

Once you have upgraded, you need to run the following MySQL command from the MySQL terminal session:

mysql --user=root --password cacti
> truncate table poller_output;
> quit

TheWitness
Sadly, I am seeing exactly the same thing when running cactid under 0.8.6c and there's nothing in poller_output. cmd.php works just fine, so I guess I'll have to like with 70-second polling times. :cry:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If it's not running with cactid, please make sure that cactid runs properly from the command line on it's own. Change directories into the cactid production directory and run it from there in "MEDIUM" mode. You should get output.

Once you have verified that, please insure that the path is accurate in Settings->Paths.

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?
cmcguire
Posts: 15
Joined: Mon Dec 06, 2004 12:54 pm
Location: Salt lake City

Post by cmcguire »

Thanks for the help. I am currently running 0.8.6b and I am not sure exactly how to upgrade. However, I did run the mysql commands then php /var/www/html/cacti/poller.php and it started polling again. I don't know if this will happen again but thank you very much for helping out!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

To upgrade to 0.8.6c, you simply need to overwrite the files from 0.8.6b and then take the config.php.dist and copy over config.php. Make sure you make your site specific changes to config.php though.

There are no database changes between versions. Once you get the files applied, there are some additional patches at the folowing link: www.cacti.net/downloads/patches/0.8.6c/pre-patched. Simply move those files over the production files and you will be AOK.

Please backup you directory first of course.

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?
cmcguire
Posts: 15
Joined: Mon Dec 06, 2004 12:54 pm
Location: Salt lake City

Post by cmcguire »

OK, every thing is upgraded and it appears to be working good. Thanks for all of your help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest