Enabling Boost causes regular interval gaps in graphs

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

Moderators: Developers, Moderators

User avatar
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

I've had issues with Boost since ye days of olde, so I had never enabled it.

After reading through some forum posts, it seemed like I was actually missing out on a useful feature, so I enabled "On-Demand RRD Updating" and forgot about it.

Since then, I've been fighting with regular gaps in my charts, for example:
eaton-boost-battery-issues.png
eaton-boost-battery-issues.png (32.55 KiB) Viewed 1550 times
It seems like a useful feature, but obviously having regular gaps is not acceptable.

I looked for the boost log file, it didn't exist. Can anyone suggest a way to try and troubleshoot this?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

Permissions?
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
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 3:56 pm Permissions?
Sorry, I'm not following. I'm not sure what you mean in this context?
What permissions need to be adjusted for boost?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

Your web server has to be the same account as the poller and everything owned by it.
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:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

I periodically get poller failures for some devices, and to fix it, I increase the heartbeat to 1200 seconds for 300 second poller interval, and like magic the gaps disappear. You have to script update the RRDfiles though.
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
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 4:00 pm Your web server has to be the same account as the poller and everything owned by it.
It does. Everything is owned by apache. Which I believe is the same way cactid is setup as well.
That didn't change between enabling and disabling boost.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

Code: Select all

cd /var/www/html/cacti
chown -R apache:apache *
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
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 4:01 pm I periodically get poller failures for some devices, and to fix it, I increase the heartbeat to 1200 seconds for 300 second poller interval, and like magic the gaps disappear. You have to script update the RRDfiles though.
This was all graphs on the system, not random graphs here and there. Every single graph was having periodic gaps, then I disabled Boost and it stopped happening.
User avatar
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 4:02 pm

Code: Select all

cd /var/www/html/cacti
chown -R apache:apache *
This is already how my configuration is :)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

How often is boost running? I have 2.5M data sources, and I run boost every 2 hours.
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
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 4:03 pm How often is boost running? I have 2.5M data sources, and I run boost every 2 hours.
I believe this was set every 30 minutes, and I don't have remotely that many data sources.
Here's an example of what I was seeing:
sample-graphs.png
sample-graphs.png (168.23 KiB) Viewed 1447 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

Is this script based or snmp based Data Source?
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
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

TheWitness wrote: Sun Sep 24, 2023 4:14 pm Is this script based or snmp based Data Source?
I had to go back and confirm. I don't believe I'm using any script queries at this point. These are all snmp based data sources.

I zoomed in a bit.
This is a smattering from different sites, different devices, different templates, different heartbeats, etc.
sample-graphs2.png
sample-graphs2.png (470.89 KiB) Viewed 1443 times
User avatar
Jeeves
Cacti User
Posts: 91
Joined: Wed Jun 12, 2013 6:25 pm

Re: Enabling Boost causes regular interval gaps in graphs

Post by Jeeves »

I started noticing there was a pattern to the issue, and started digging in. Logs indicated boost ran regularly so I turned it off and it's not happened once since.

It could be tangential to boost itself (e.g. boost caused too many database connections, boost caused too much IO, etc.) but boost caused the problem and turning it off fixed it.

Just wanted to zero in on it a bit since boost seemed useful.
If it's a problem not worth troubleshooting, that's fine too :)
Attachments
sample-graphs3-zoomedb.png
sample-graphs3-zoomedb.png (115.28 KiB) Viewed 1439 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Enabling Boost causes regular interval gaps in graphs

Post by TheWitness »

Yea, connections are important, but it's normally spine that uses them up. The other things could be that someone is camping on the page and the page auto-refreshes just around boost time. If you have either App Armour or SELinux enabled, you may be missing an audit2allow rule to allow Apache to write to this directory too. That would do it for sure. If SELinux is enabled, put it into permissive mode, and reboot the box. Then check your log's for SELinux warnings and follow the procedure to make the RRA directory writable by Apache.
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