tripleo-ansible/tripleo_ansible/roles/tripleo_collectd/vars/main.yml

51 lines
1.8 KiB
YAML

---
# Copyright 2021 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# Vars to be passed to the collectd_config role
collectd_conf_output_dir: "/var/lib/config-data/ansible-generated/collectd/etc/collectd.d"
# TODO: Add actions for these to collectd-config-ansible-role
# - collectd::manage_repo: false
# collectd::purge: true
# collectd::recurse: true
# collectd::purge_config: true
# collectd::minimum_version: "5.7"
# Plugin configuration
collectd_plugin_cpu_reportbycpu: true
collectd_plugin_cpu_reportbystate: true
collectd_plugin_cpu_reportnumcpu: false
collectd_plugin_cpu_valuespercentage: true
collectd_plugin_df_fstypes:
- 'xfs'
collectd_plugin_df_ignoreselected: true
collectd_plugin_df_reportbydevice: true
collectd_plugin_load_reportrelative: true
collectd_plugin_logfile_file: /var/log/collectd/collectd.log
collectd_plugin_unixsock_socketgroup: root
collectd_plugin_unixsock_socketfile: /run/collectd-socket
collectd_plugin_unixsock_delete_socket: true
collectd_plugin_virt_connection: "qemu:///system"
collectd_plugin_virt_extrastats: >-
"pcpu cpu_util vcpupin vcpu memory disk disk_err disk_allocation disk_capacity disk_physical domain_state job_stats_background perf"
collectd_plugin_virt_hostnameformat: "hostname"