From 44d5d79394e29d783a7ef73ba742052d97fad124 Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Thu, 10 Jun 2021 12:04:23 +0100 Subject: [ansible] Use collectd_config for virt and rdt Only one of virt and intel_rdt can be enabled at a time, and the existing checks are based on the existance of a {rdt,virt}.conf file to determine whether the other plugin is enabled. This check needed updating, and is now based on whether the other plugin is in the collectd_plugins value. Signed-off-by: Emma Foley Change-Id: I175d60111bf133965e1ecbf3764cb12a25356576 --- docker/ansible/roles/config_files/vars/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docker/ansible/roles/config_files/vars/main.yml') diff --git a/docker/ansible/roles/config_files/vars/main.yml b/docker/ansible/roles/config_files/vars/main.yml index 4e42791b..410e24ed 100644 --- a/docker/ansible/roles/config_files/vars/main.yml +++ b/docker/ansible/roles/config_files/vars/main.yml @@ -42,6 +42,9 @@ collectd_plugin_intel_pmu_report_kernel_pmu_events: True collectd_plugin_intel_pmu_report_software_events: True collectd_plugin_intel_pmu_cores: ["0-4"] +collectd_plugin_intel_rdt_cores: [""] +collectd_plugin_intel_rdt_interval: "{{ rdt_interval }}" + collectd_plugin_logfile_loglevel: "{{ logfile_log_level }}" collectd_plugin_logfile_file: "{{ logfile_dir }}/collectd.log" collectd_plugin_logfile_timestamp: True @@ -49,6 +52,9 @@ collectd_plugin_logfile_timestamp: True collectd_plugin_ovs_events_dispatch_values: True collectd_plugin_ovs_events_send_notification: True +collectd_plugin_virt_extra_stats: "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin" +collectd_plugin_virt_refresh_interval: 60 + collectd_plugin_write_kafka_hosts: - "{{ kafka_ip_addr }}:{{ kafka_port }}" collectd_plugin_write_kafka_topics: '{{ { kafka_topic: { "format": "JSON" }} }}' -- cgit 1.2.3-korg