30 minutes data gathering

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

Moderators: Developers, Moderators

Post Reply
-charles-
Posts: 5
Joined: Wed Aug 26, 2009 8:26 am

30 minutes data gathering

Post by -charles- »

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.
-charles-
Posts: 5
Joined: Wed Aug 26, 2009 8:26 am

Post by -charles- »

Nobody knows? I looked over whole database and couldn't find.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Cacti does not yet support multiple polling intervals.
You may do so if you decide to update some rrds "manually" outside cacti and let cacti poll only those rrds that have the same polling interval
R.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
-charles-
Posts: 5
Joined: Wed Aug 26, 2009 8:26 am

Post by -charles- »

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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 0 guests