> When thinking about the detailed side-effects, I came across the

> following: currently, collectd allows to specify multiple <Plugin>
> blocks for a single plugin. This is not documented anywhere and should
> not be considered to be officially supported. The current behavior
> greatly depends on the plugin. However, quite a few plugins probably
> handle this situation sanely and, thus, this might be used in a couple
> of reasonable use-cases.

I thought I read somewhere that was officially supported but the only thing I
could find was "The complex configuration callbacks are called once for each
<Plugin /> block parsed for that plugin":
  
https://collectd.org/wiki/index.php/Plugin_architecture#Complex_configuration_callbacks

Multiple <Plugin> blocks are really handy with a configuration management
system. For example, with the tcpconns plugin I have a set of local and remote
ports to capture in the main conf on every host and then for each app/role I
may add more ports. E.g., a MySQL server will have another block to capture
3306.

Thanks
Kimo
_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to