|
|
@ -366,6 +366,10 @@ parameters: |
|
|
|
type: boolean |
|
|
|
description: Set to true to enable mcelog |
|
|
|
default: false |
|
|
|
CollectdEnableLibpodstats: |
|
|
|
type: boolean |
|
|
|
description: Set to true if collectd should run the libpodstats plugin |
|
|
|
default: false |
|
|
|
|
|
|
|
conditions: |
|
|
|
amqp_connection: |
|
|
@ -391,6 +395,8 @@ conditions: |
|
|
|
sensubility_needs_sudo: |
|
|
|
not: |
|
|
|
equals: [{get_param: CollectdSensubilityExecSudoRule}, ''] |
|
|
|
enable_libpodstats: |
|
|
|
equals: [{get_param: CollectdEnableLibpodstats}, true] |
|
|
|
|
|
|
|
resources: |
|
|
|
ContainersCommon: |
|
|
@ -632,6 +638,11 @@ outputs: |
|
|
|
occurrences: {get_param: CollectdContainerHealthCheckOccurrences} |
|
|
|
refresh: {get_param: CollectdContainerHealthCheckRefresh} |
|
|
|
- {} |
|
|
|
- if: |
|
|
|
- enable_libpodstats |
|
|
|
- tripleo::profile::base::metrics::collectd::enable_libpodstats: |
|
|
|
get_param: CollectdEnableLibpodstats |
|
|
|
- {} |
|
|
|
service_config_settings: {} |
|
|
|
# BEGIN DOCKER SETTINGS |
|
|
|
puppet_config: |
|
|
|