Amit Gupta wrote:
>
> >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.

So where in the delivered collectd.conf file will you place the
Include conf.d/* directive?

I'm thinking it is probably best to put it at the end, that way if any
optional files are dropped into the conf.d directory they will have
precedence, which should make for more intuitive behavior.

-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to