Add config option for collectd libpodstats
Change-Id: I1f47772d01e10b3f399bd4ba3da90b6016e407b0 Depends-On: https://review.opendev.org/#/c/757343/ Signed-off-by: pleimer <pfbleimer@gmail.com> (cherry picked from commit824f1b8d3b
) (cherry picked from commit15faa808a2
)
This commit is contained in:
parent
bcb94f4b75
commit
597c00cead
|
@ -170,6 +170,7 @@ parameter_defaults:
|
||||||
CollectdExtraPlugins:
|
CollectdExtraPlugins:
|
||||||
- rrdtool
|
- rrdtool
|
||||||
CollectdEnableSensubility: true
|
CollectdEnableSensubility: true
|
||||||
|
CollectdEnableLibpodstats: true
|
||||||
LoggingServers:
|
LoggingServers:
|
||||||
- host: 127.0.0.1
|
- host: 127.0.0.1
|
||||||
port: 24224
|
port: 24224
|
||||||
|
|
|
@ -162,6 +162,7 @@ parameter_defaults:
|
||||||
CollectdExtraPlugins:
|
CollectdExtraPlugins:
|
||||||
- rrdtool
|
- rrdtool
|
||||||
CollectdEnableSensubility: true
|
CollectdEnableSensubility: true
|
||||||
|
CollectdEnableLibpodstats: true
|
||||||
CollectdAmqpInstances:
|
CollectdAmqpInstances:
|
||||||
notify:
|
notify:
|
||||||
notify: true
|
notify: true
|
||||||
|
|
|
@ -366,6 +366,10 @@ parameters:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Set to true to enable mcelog
|
description: Set to true to enable mcelog
|
||||||
default: false
|
default: false
|
||||||
|
CollectdEnableLibpodstats:
|
||||||
|
type: boolean
|
||||||
|
description: Set to true if collectd should run the libpodstats plugin
|
||||||
|
default: false
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
amqp_connection:
|
amqp_connection:
|
||||||
|
@ -391,6 +395,8 @@ conditions:
|
||||||
sensubility_needs_sudo:
|
sensubility_needs_sudo:
|
||||||
not:
|
not:
|
||||||
equals: [{get_param: CollectdSensubilityExecSudoRule}, '']
|
equals: [{get_param: CollectdSensubilityExecSudoRule}, '']
|
||||||
|
enable_libpodstats:
|
||||||
|
equals: [{get_param: CollectdEnableLibpodstats}, true]
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
ContainersCommon:
|
ContainersCommon:
|
||||||
|
@ -632,6 +638,11 @@ outputs:
|
||||||
occurrences: {get_param: CollectdContainerHealthCheckOccurrences}
|
occurrences: {get_param: CollectdContainerHealthCheckOccurrences}
|
||||||
refresh: {get_param: CollectdContainerHealthCheckRefresh}
|
refresh: {get_param: CollectdContainerHealthCheckRefresh}
|
||||||
- {}
|
- {}
|
||||||
|
- if:
|
||||||
|
- enable_libpodstats
|
||||||
|
- tripleo::profile::base::metrics::collectd::enable_libpodstats:
|
||||||
|
get_param: CollectdEnableLibpodstats
|
||||||
|
- {}
|
||||||
service_config_settings: {}
|
service_config_settings: {}
|
||||||
# BEGIN DOCKER SETTINGS
|
# BEGIN DOCKER SETTINGS
|
||||||
puppet_config:
|
puppet_config:
|
||||||
|
|
Loading…
Reference in New Issue