rrd's not updating

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

Moderators: Developers, Moderators

Post Reply
xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

rrd's not updating

Post by xcitiman »

I accidently left debug on all night for three nights and the log file has eaten the remaining disk space. When I went ot log in to Cacti it said that there was a problem with include/config/php but I know that everything was operating fine for weeks. I've removed the large log file and have Cacti set to LOW now. How do I get the rrd's to update again?

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

Post by TheWitness »

Did you reboot?

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?
xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

Post by xcitiman »

Yes I've rebooted. It seems that not only is the CMD2RRD not beeing executed but I'm having a problem with the mysql server having too many connections.

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

Post by TheWitness »

If you have implemented the "Pconnect" recommendation, undo it. Also, are you using cactid or cmd.php?

Larry
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: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I noticed with some other users posts that filling up a volume is bad news. It appears that there is a possibility that the RRD files themselves can become corrupted.

I suggest you utilize the unix command logrot to manage your log files. In Windows, you could simply run a weekly process to zip up the current log file and truncate the existing log. I have a simple vbs script that I use for Cisco's Campus Manager tool I would be willing to share if you are Windows.

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: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You should also run 1 time (LOW) from the command line and see what RRD is returning for error messages. Also, please note that there is a patch for 0.8.6b that you should download. Actually involve reaching that could be crashing your poller.

You should check your poller_command table for entries. If there are entries, you should "truncate table poller_command" after implementing the fixes.

TheWitness

Patches Here: http://www.cacti.net/downloads/patches/ ... e-patched/
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?
xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

Post by xcitiman »

Thanks for the input Witness. I'm trying your suggested fixes.

Running cmd.php not cactid

-X-
xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

Post by xcitiman »

Just a question ... where do I install these patched files?? These have similar names to existing files in the Cacti directory. (data_query.php and data_queries.php in Cacti dir, etc.)

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

Post by TheWitness »

All go into the Lib folder.

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