<div dir="ltr">Hi,<div><br></div><div>I'm on Ubuntu 12.04 with collectd 5.3.0 and running collectd with collectdmon. Every few hours (sometimes only a few minutes after a restart), my /etc/collectd/collectd.conf is overwritten by a default version of this file.</div>
<div><br></div><div>These changes are close in time to some collectd restarts. In this example the file was written 1 minute after the last collectd restart:</div><div><br></div><div><div>root@eu4:/etc/collectd# ls -ld collectd.conf</div>
<div>-rw-r--r-- 1 root root 16457 May 23 13:37 collectd.conf</div><div><br></div><div><div>May 23 13:36:11 ns2281597 collectd[27197]: Exiting normally.</div><div>May 23 13:36:11 ns2281597 collectd[27197]: collectd: Stopping 5 read threads.</div>
<div>May 23 13:36:11 ns2281597 collectd[27197]: ping plugin: Shutting down thread.</div><div>May 23 13:36:11 ns2281597 collectd[27197]: email: accept() failed: Bad file descriptor</div><div>May 23 13:36:12 ns2281597 collectd[27197]: collectd: Stopping 5 write threads.</div>
<div>May 23 13:36:12 ns2281597 collectdmon[27024]: Info: collectd terminated with exit status 0</div><div>May 23 13:36:12 ns2281597 collectdmon[27024]: Info: shutting down collectdmon</div><div>May 23 13:36:13 ns2281597 collectd[29066]: cpufreq plugin: Found 8 CPUs</div>
<div>May 23 13:36:13 ns2281597 collectd[29066]: Initialization complete, entering read-loop.</div><div>May 23 13:36:13 ns2281597 collectd[29066]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.</div>
<div>May 23 13:36:13 ns2281597 collectd[29066]: tcpconns plugin: Reading from netlink succeeded. Will use the netlink method from now on.</div><div>May 23 13:36:13 ns2281597 collectd[29066]: mysql plugin: Successfully connected to database thumbrit at server Localhost via UNIX socket (server version: 5.5.29-0ubuntu0.12.04.1-log, protocol version: 10)</div>
</div><div><br></div><div style>Has anybody experienced before these overwrites? is it normal to have collectd restarting every few hours? Any way to prevent this file being overwritten?</div><div style><br></div><div style>
Thanks!</div><div><br></div>-- <br>Joaquin Cuenca Abela
</div></div>