Enabling Boost causes regular interval gaps in graphs
Moderators: Developers, Moderators
Enabling Boost causes regular interval gaps in graphs
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:
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?
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:
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?
- 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
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?
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?
Re: Enabling Boost causes regular interval gaps in graphs
Sorry, I'm not following. I'm not sure what you mean in this context?
What permissions need to be adjusted for boost?
- 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
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?
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?
- 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
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?
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?
Re: Enabling Boost causes regular interval gaps in graphs
It does. Everything is owned by apache. Which I believe is the same way cactid is setup as well.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.
That didn't change between enabling and disabling boost.
- 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
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?
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?
Re: Enabling Boost causes regular interval gaps in graphs
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.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.
Re: Enabling Boost causes regular interval gaps in graphs
This is already how my configuration isTheWitness wrote: ↑Sun Sep 24, 2023 4:02 pmCode: Select all
cd /var/www/html/cacti chown -R apache:apache *
- 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
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?
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?
Re: Enabling Boost causes regular interval gaps in graphs
I believe this was set every 30 minutes, and I don't have remotely that many data sources.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.
Here's an example of what I was seeing:
- 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
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?
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?
Re: Enabling Boost causes regular interval gaps in graphs
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.
Re: Enabling Boost causes regular interval gaps in graphs
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
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 (115.28 KiB) Viewed 1439 times
- 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
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest