aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/config_files/vars/main.yml
diff options
context:
space:
mode:
authorEmma Foley <efoley@redhat.com>2021-06-10 12:04:23 +0100
committerEmma Foley <efoley@redhat.com>2021-08-26 21:05:50 +0100
commit44d5d79394e29d783a7ef73ba742052d97fad124 (patch)
tree4b638f048fb97244e80d73df937ba266e1f339e8 /docker/ansible/roles/config_files/vars/main.yml
parentdfb13929a9b878c0d41b88b53c62ff56fe8b6856 (diff)
[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 <efoley@redhat.com> Change-Id: I175d60111bf133965e1ecbf3764cb12a25356576
Diffstat (limited to 'docker/ansible/roles/config_files/vars/main.yml')
-rw-r--r--docker/ansible/roles/config_files/vars/main.yml6
1 files changed, 6 insertions, 0 deletions
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" }} }}'