Enable collectd health check

This patch enables health check execution for collectd docker container.

Change-Id: Ifd16dbb87073aecade5f2b68b060e56dec92c51e
Depends-On: Ib82cb849540694106a869ec81694f1159967ee79
This commit is contained in:
Martin Mágr 2018-01-26 17:07:37 +01:00
parent 49d8f4ea76
commit 3a76b9e7ba
2 changed files with 5 additions and 0 deletions

View File

@ -97,6 +97,8 @@ outputs:
privileged: true privileged: true
user: root user: root
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -37,6 +37,7 @@ parameters:
- memory - memory
- processes - processes
- tcpconns - tcpconns
- unixsock
type: comma_delimited_list type: comma_delimited_list
description: > description: >
List of collectd plugins to activate on all overcloud hosts. See List of collectd plugins to activate on all overcloud hosts. See
@ -206,6 +207,8 @@ outputs:
collectd::recurse: true collectd::recurse: true
collectd::purge_config: true collectd::purge_config: true
collectd::minimum_version: "5.7" collectd::minimum_version: "5.7"
collectd::plugin::unixsock::socketgroup: root
collectd::plugin::unixsock::socketfile: /var/run/collectd-socket
tripleo.collectd.plugins.collectd: tripleo.collectd.plugins.collectd:
yaql: yaql:
data: data: