Hi there!
The problem is that I've got about 85 different graphs using same templates but different parameters. All of them are polled every 30 minutes, all other graphs are polled default 5 minutes. The deal is that they all aren't updated at the same time, but on different poller run (log shows that). It causes gaps in graphs. So my question is what causes that? And how to make them update at the same time?
OS is Debian, poller is spine, mentioned data is gathered from remote database by script I wrote.
30 minutes data gathering
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Well, I beg to differ. We do support multiple poller intervals based upon the step in the data template. What we can't do it to have the same data template applied with multiple poller intervals at this point.
So, let's say you want something polled once an hour, in this case your data template will have a step of 3600, and a heartbeat of say 7200. Then, any graph instantiated with this data template, will be polled once an hour.
TheWitness
So, let's say you want something polled once an hour, in this case your data template will have a step of 3600, and a heartbeat of say 7200. Then, any graph instantiated with this data template, will be polled once an hour.
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?
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?
Thanks for reply. Anyway i solved it in different way, because the main deal was that we didn't want to make more unnecessary load on remote server, so I wanted to poll it every half an hour instead of 5min. I wrote one more script to take out data from remote database and put in local database, wich can be polled every 5min. I changed data template intervals to default, but graphs still updates every half an hour. Is there a way to change it without removing graphs and adding them again?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Well, it all depends on the Step and Heartbeat in the RRDfile. If the step is the default of 300, then simply have your script poll the database every 5 minutes, and the graph will only change every 30. No big deal. If your Cacti system is struggling, then you would need to change the Step to 30 minutes and then delete have cacti recreate the RRDfile.
If you are using the Script Server to collect the data from the database, and if that database is on the same system as the Cacti system, you should not be having an issue though.
TheWitness
If you are using the Script Server to collect the data from the database, and if that database is on the same system as the Cacti system, you should not be having an issue though.
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?
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 0 guests