<div dir="ltr"><div><div dir="ltr">Hi,<br></div><div style><br></div><div style>Over at <a href="https://apps.sematext.com/">https://apps.sematext.com/</a> we run a performance monitoring service that, in part, depends on Collectd.</div>
<div style><br></div><div style>I am hoping somebody here can guide me in the right direction around the best way to add custom collectd.conf to an existing Collectd setup.</div><div style><br></div><div style>When people set up our metrics agent we want to enable a certain number of existing Collectd plugins - things like cpu, disk, load... - so we can gather this via Collectd's csv output.</div>
<div style><br></div><div style>But ideally we would not just overwrite their collectd.conf for obvious reasons.</div><div style><br></div><div style>I know we could:</div><div style>* plant our own /etc/collectd.d/spm-collectd.conf</div>
<div style>* use "Include "/etc/collectd.d/spm-collectd.conf" from the parent conf<br></div><div style>* have the same LoadPlugin and <Plugin ...> directives in both parent and included conf</div><div style>
<br></div><div style>But my worry is that if in our custom /etc/collectd.d/spm-collectd.conf we override something from the parent conf, then we'll break it. For example, imagine if in the included conf we say:</div>
<div style><br></div><div style><div><Plugin csv></div><div> DataDir "/our/custom/log/location/here/will/OVERRIDE/the/parent"</div><div></Plugin><br></div></div><div style><br></div><div style>Is there anything one can do to avoid breaking plugin directives defined in the parent conf?</div>
<div style><br></div><div style>Thanks,</div><div dir="ltr">Otis<div>--<br></div><div><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px">Solr & ElasticSearch Support</span><br style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px">
<a href="http://sematext.com/" style="font-family:Verdana,sans-serif;font-size:12px" target="_blank">http://sematext.com/</a><br></div><div><br></div></div></div>
</div>