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
(cherry picked from commit 36cfba38f8
)
This commit is contained in:
parent
2903d932bc
commit
936fd94d2c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue