Hi Cedric,

On Wed, May 17, 2006 at 01:02:57PM +0200, Cédric Delaunay wrote:

> Do you have an idea the parameters I should use to enable my history ?
> I think I will have to use multiple plugins. One registering precise data
> for the last week, an other to store less detailed info for a month and
> etcetera.

History is enabled by simply specifying the sql_history directive. By
attaching different values to each SQL plugin, you will get your data
aggregated at different timescales (in the example: 5 minutes, 1 day,
1 month):

===
...
sql_history[plugin_x]: 5m
sql_history_roundoff[plugin_x]: h

sql_history[plugin_y]: 1d
sql_history[plugin_z]: 1M
...
===

In my opinion, the general principle is correct: avoid to re-aggregate
data. This leads to a CPU-savy setup at the cost of a few extra space.
I think actual values depend on what you wish to do.

Cheers,
Paolo


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to