Hi,
my company wants to have a constant 5 minutes resolution of their captured data. As far as I understood cacti/rrdtool will interpolate the values retrieved after some predefined time.
Wouldn't it be useful to retrieve the data from rrdtool and write it into the mysql database instead of graphing right out of the rrd files? You wouldn't have to interpolate your results having high resolution graphs over the last past years.
Thx for replys
D34thCr4z3
Storing data in sql database (higher data resolution)
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Fri Oct 01, 2004 1:59 am
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You can change the default behavior of Cacti simply by changing the RRA configuration. We have some users who keep 2 years of 5 minute data in their RRD files (some of which are quite large).
There is no need for SQL entries to accomodate the same.
TheWitness
There is no need for SQL entries to accomodate the same.
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?
- mokeybrains
- Posts: 42
- Joined: Mon Aug 22, 2005 9:39 pm
- Location: San Francisco, CA
- Contact:
How do I...
Where do I alter 'the RRA configuration'? I would like 5 minute resolution for 2 months for some data but not all.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
It's all or none in the current version.
Click on data sources and you will find you answer.
Click on data sources and you will find you answer.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- mokeybrains
- Posts: 42
- Joined: Mon Aug 22, 2005 9:39 pm
- Location: San Francisco, CA
- Contact:
Code: Select all
Name Steps Rows Timespan
Daily (5 Minute Average) 1 9000 86400
Weekly (30 Minute Average) 6 700 604800
Monthly (2 Hour Average) 24 775 2678400
Yearly (1 Day Average) 288 797 33053184
Still figuring out the RRA settings,
Rudy
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You'll find some of my post related to that subject at
Intro for the basic understanding: How CONSOLIDATION works at http://forums.cacti.net/viewtopic.php?t=9383
Howto define very BIG rra "without data loss": http://forums.cacti.net/viewtopic.php?t=9605
Howto RESIZE existing RRAs of existing RRDs: http://forums.cacti.net/viewtopic.php?t=9627
Howto View Historical Data after Consolidation (MAX): http://forums.cacti.net/viewtopic.php?t=9826
suppose it would be better not to discuss this in the Features Forum ...
Reinhard
Intro for the basic understanding: How CONSOLIDATION works at http://forums.cacti.net/viewtopic.php?t=9383
Howto define very BIG rra "without data loss": http://forums.cacti.net/viewtopic.php?t=9605
Howto RESIZE existing RRAs of existing RRDs: http://forums.cacti.net/viewtopic.php?t=9627
Howto View Historical Data after Consolidation (MAX): http://forums.cacti.net/viewtopic.php?t=9826
suppose it would be better not to discuss this in the Features Forum ...
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests