Can't disable boost - how to force rrd file update?

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

Moderators: Developers, Moderators

Post Reply
ciela2
Posts: 48
Joined: Fri Jan 06, 2012 1:52 pm

Can't disable boost - how to force rrd file update?

Post by ciela2 »

Hello,

I'm trying to migrate Cacti from a server running the 1.2.16 version to a server running Cacti 1.2.22.
On version 1.2.16 it currently takes around 270 seconds for the poller to complete.
Boost is enabled and if I try to disable it, it says the operation was successful - but it doesn't really disable On-demand RRD file updating - it stays enabled.
RRD files are updated every 30 minutes.

The question here is about migrating updated rrd files to the new server.
When I look at the time last modified on the rrd files it's equal to the last time that boost ran.
Don't understand "on-demand" updating - how do I demand an rrd update, so that I can migrate an up-to-date rrd files to the new server. Pulling up the graphs doesn't seem to work.

Hope this is somewhat clear - trying to avoid breaks in the graphs on the new Cacti server.

Thanks for any suggestions.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Can't disable boost - how to force rrd file update?

Post by Osiris »

Well, there isn't really enough information here to provide much feedback.
Before history, there was a paradise, now dust.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Can't disable boost - how to force rrd file update?

Post by TheWitness »

You can force a boost update using the following cli

Code: Select all

cd /var/www/html/cacti
php -q poller_boost.php --force
If you have too many records in the boost cache in your version of Cacti, and your system is real large, you may have issues with boost not completing. There was a design change in the 1.2.22 release that allows boost to process these very large caches. Not sure if thats your problem. If it's not, hold off to upgrade till we release 1.2.23.
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?
ciela2
Posts: 48
Joined: Fri Jan 06, 2012 1:52 pm

Re: Can't disable boost - how to force rrd file update?

Post by ciela2 »

Appreciate the reply TheWitness, that command is exactly what I needed - without that my plan was to wait and transfer blocks of rrd files to the new server every 30 minutes right after boost completed its cycle.
This works great and will save a lot of time.

Thanks very much.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Can't disable boost - how to force rrd file update?

Post by TheWitness »

With the latest boost (1.2.22++) you can flush 40+ million boost records with ease. Just need to have the right number of threads. So, a 6 hour boost update is not a big deal for smaller systems.
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: fpiorek and 4 guests