Some rrd not updated anymore

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
crieur.com
Posts: 19
Joined: Fri Mar 11, 2005 3:35 pm
Contact:

Some rrd not updated anymore

Post by crieur.com »

Hi all

I have a strange behavior :
Cacti just stop updating some rrd one day ago, the polling is still done.

In the logs when I use the DEBUG level I see

1) the polling command through CMD
2) then the SQL Exec: "insert into poller_output
3) no rrdtool update after that


Only 10 rrd are behaving like that , the others are ok...

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

Post by TheWitness »

Run poller.php from a command line and look for RRDupdate issue. Also, when the poller is finished, look to see if the poller_output table is empty.

Report your findings here.

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?
crieur.com
Posts: 19
Joined: Fri Mar 11, 2005 3:35 pm
Contact:

Post by crieur.com »

I ran the poller in cmdline mode and there is no " rrdtoo update " for these rrd and the poller_output table contains 114542 rows

I must say that I use a poller every minute with a patch found here to enable a poller frequency of 1 min

(and PIA Arch also and 3 plugins)

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

Post by TheWitness »

Increase your PHP memory in php.ini to 128MBytes. Then run the following attached script. Place it in your Cacti root directory.

TheWitness
Attachments
poller_output_empty.zip
(1.15 KiB) Downloaded 146 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?
crieur.com
Posts: 19
Joined: Fri Mar 11, 2005 3:35 pm
Contact:

Post by crieur.com »

Seems to work ! My graph are back but the script is still running...(launch an hour ago at least)

We'll see tomorrow :-)

Thanks again
crieur.com
Posts: 19
Joined: Fri Mar 11, 2005 3:35 pm
Contact:

Post by crieur.com »

Thank you "TheWitness"

Is it a bug or is it due to something I've done ?

I was obliged to stop the script after may hours running (cause someone wanted to sleep and I had to shut down my workstation ;-)

What I meant is, will I have to use this script again in the future or is it ok ?


Bye and again thanks ;-)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No, this is likely due to insufficient memory from PHP to process all of the RRD files. With the higher memory setting, you should not experience this problem again.

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 1 guest