[collectd] sensors: event driven configuration reload

Florian Forster octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Tue Dec 5 20:49:29 CET 2006


Hi Lubos,

On Tue, Dec 05, 2006 at 07:10:20PM +0100, Stan??k Lubo?? wrote:
> Does somebody have any idea concerning event driven reload of the
> configuration?

Sebastian and I recently talked about changing the plugin structure. One
of the things we were thinking about was a `restart' hook in addition to
the `init' and `shutdown' hooks.

Our intention was different, though: We were thinking about reloading
the config file without restarting the daemon, i. e. triggered by SIGHUP
or a similar mechanismn. I think changes in the configuration need to be
detected by the plugin itself. It can then call it's own `init' function
itself or do whatever it takes to adapt to the changed configuration. I
don't see how the daemon could support that process.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20061205/6b059860/attachment-0001.pgp


More information about the collectd mailing list