[collectd] Proposal: Make collectdmon start several instances of collectd based on configuration file

Mariusz Gronczewski xani666 at gmail.com
Tue Sep 8 11:12:09 CEST 2009


Hi,
2009/9/8 Peter Fischer <letzterfreiercoolername at googlemail.com>:
> Hi!
> I was playing with the 1wire plugin lately und of cource came about the
> "EXPERIMENTAL!" paragraph.
> I think there would be a relatively simple solution for that:
>  * In every plugin's stanza in collectd.conf an interval can be given. If
> there is none, the global default is being used.
>  * During startup, collectdmon would enumerate every plugin's desired
> interval, group these, and would start in collectd instance for every single
> interval in the group.
> for example:
>  * soil temperature and humidity is measured every 30min
>  * barometric pressure is read every 5 min
>  * ambient temperature and humidity is measured every 2 min
>  * everything else uses the default 10 seconds interval
> in that case collectdmon would start four instances of collectd running with
> different intervals
> That way one could even use the slowest or wireless sensors.
> Thoughts?

It sound soo ugly... im thinking either:
a) Get interval suppot to plugin
b) Write script which gets data from sensors and fetch it using exec
plugin to collectd... wouldn't be much job if u really need support
right now.

Regards
Mariusz



More information about the collectd mailing list