[collectd] Re: increase time interval to 1 minute?

Christophe Kalt collectd at klb.taranis.org
Mon Apr 10 18:53:29 CEST 2006


Hi,

Florian Forster wrote:
| I've build a first version with a configurable `step' setting.  One of
| the problems that now arise, and a reason why I didn't implement it like
| this right away, is the size of the RRAs. Since the current solution,
| uhm, leaves room for improvements, I'd apprechiate some feedback.
[...]
| Having `static' RRAs with a `dynamic' step (it's not really dynamic;
| it's a compile-time setting) seems wrong. One acceptable solution would
| be to make these configurable, too. However, I have no clue how the
| configure-options should look like. Suggestions, anyone?

The "step" setting should be configurable at runtime and per
plugin.  Haven't looked at your main loop but it shouldn't
be very hard to do.

Now as far as the RRAs go, you're absolutely right.  You
can't hard code these.  Again, my advice is to make them
configurable per plugin, at runtime.  (Default RRAs as well)

You will never please everyone by setting your own RRAs, even
if you do it dynamically.  Allowing runtime configuration
makes collectd far more generic which will make it more usable
by more people.

Hope this helps.



More information about the collectd mailing list