On 11/06/09 01:43, Jyri Virkki wrote: > >> >> We are indeed planning to patch the collectd.conf to get it working >> for OpenSolaris with minimal changes. > > Great! > >>> What happens if a plugin is configured in both places? Do you expect >>> this overlap to be a problem in practice? >> There is no issue even if the plugin is configured in both places. > > If the config differs, which one takes precedence? From collectd.conf man page (http://collectd.org/documentation/manpages/collectd.conf.5.shtml#description): "The configuration is read and processed in order, i. e. from top to bottom. So the plugins are loaded in the order listed in this config file."
So, the answer to the question depends on where in the collectd.conf, the plugin directive is defined. If it is defined after the "Include directive", then the plugin directive in collectd.conf will take precendence, otherwise plugin directive in conf.d/<plugin>.conf will take precedence. Regards Amit
