Run collectd socket cleanup on container start

This patch enables collectd deleting /var/run/collect-socket on startup.
It is created for monitoring purposes and on some conditions is created
by health check script sooner than collectd starts, which results on collect
failing to create the socket and listening on it.

Change-Id: I9fed91255f6857ac39a68278fb2c036606d88468
Closes-Bug: #1807683
This commit is contained in:
Martin Magr 2018-12-10 11:03:45 +01:00
parent 64b95749e4
commit 36cfba38f8
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ outputs:
collectd::minimum_version: "5.7"
collectd::plugin::unixsock::socketgroup: root
collectd::plugin::unixsock::socketfile: /var/run/collectd-socket
collectd::plugin::unixsock::deletesocket: true
collectd::interval: {get_param: CollectdDefaultPollingInterval}
tripleo.collectd.plugins.collectd:
yaql: