Add logging source for collectd

Change-Id: I065e67f962ea17f10ce45aaa0497a7bf61d74d28
This commit is contained in:
Martin Magr 2021-09-09 22:30:18 +02:00
parent f994b401d2
commit e8beaaf880
1 changed files with 9 additions and 1 deletions

View File

@ -400,6 +400,11 @@ parameters:
description: Additional container capabilities to add to the collectd container.
By default is appended to IPC_LOCK.
default: []
CollectdLoggingSource:
type: json
default:
tag: collectd
file: /var/log/containers/collectd/collectd.log
conditions:
@ -680,7 +685,10 @@ outputs:
- {get_param: CollectdEnableLibpodstats}
- tripleo::profile::base::metrics::collectd::enable_libpodstats:
get_param: CollectdEnableLibpodstats
service_config_settings: {}
service_config_settings:
rsyslog:
tripleo_logging_sources_collectd:
- {get_param: CollectdLoggingSource}
# BEGIN DOCKER SETTINGS
puppet_config:
config_volume: collectd