On 11/06/09 13:53, Jyri Virkki wrote:
> 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.
>   
That is what I am planning as well.

Regards
Amit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20091106/1eca4c9b/attachment.html>

Reply via email to