I have some custom configuration files for collectd (dumped into influxdb for grafana.) Is it safe to add them or would they get clobbered on reboot when /etc is populated?
The configuration will be reset after each reboot. You could create a shell script that adds your specific config and restarts collectd. Than add that as a post-startup task.
The configuration will be reset after each reboot. You could create a shell script that adds your specific config and restarts collectd. Than add that as a post-startup task.
Even if they're under /etc/collectd.d/ ? I haven't tested it yet myself but it'd be handy.
edit: answer my own question; it's do-able but /etc/collectd/collectd.conf needs to be patched every reboot for the include statements (or otherwise add to.)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.