4e42791bf9b6d35ffd703ec733bdbc14a815b118
[barometer.git] / docker / ansible / roles / config_files / vars / main.yml
1 # Copyright 2018-21 Anuket, Intel Corporation and others
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 ---
15 collectd_plugins: []
16 collectd_interval: "{{ interval_value }}"
17 collectd_hostname: "{{ inventory_hostname }}"
18
19 collectd_plugin_capabilities_port: "9564"
20
21 collectd_plugin_csv_datadir: "{{ csv_log_dir }}"
22 collectd_plugin_csv_storerates: False
23
24 collectd_plugin_dpdk_telemetry_client_socket_path: "/var/run/.client"
25 collectd_plugin_dpdk_telemetry_dpdk_socket_path: "/var/run/dpdk/rte/telemetry"
26
27 collectd_plugin_exec_exec:
28   - user: "collectd_exec"
29     exec: "/src/barometer/src/collectd/collectd_sample_configs/ovs_pmd_stats.sh"
30 collectd_plugin_exec_notification:
31   - user: "collectd_exec"
32     notification_exec: "/src/barometer/src/collectd/collectd_sample_configs/write_notification.sh"
33
34 collectd_plugin_hugepages_report_per_node_hp: True
35 collectd_plugin_hugepages_report_root_hp: True
36 collectd_plugin_hugepages_values_pages: True
37 collectd_plugin_hugepages_values_bytes: False
38 collectd_plugin_hugepages_values_percentage: False
39
40 collectd_plugin_intel_pmu_report_hardware_cache_events: True
41 collectd_plugin_intel_pmu_report_kernel_pmu_events: True
42 collectd_plugin_intel_pmu_report_software_events: True
43 collectd_plugin_intel_pmu_cores: ["0-4"]
44
45 collectd_plugin_logfile_loglevel: "{{ logfile_log_level }}"
46 collectd_plugin_logfile_file: "{{ logfile_dir }}/collectd.log"
47 collectd_plugin_logfile_timestamp: True
48
49 collectd_plugin_ovs_events_dispatch_values: True
50 collectd_plugin_ovs_events_send_notification: True
51
52 collectd_plugin_write_kafka_hosts:
53   - "{{ kafka_ip_addr }}:{{ kafka_port }}"
54 collectd_plugin_write_kafka_topics: '{{ { kafka_topic: { "format": "JSON" }} }}'
55
56 collectd_plugin_write_prometheus_port: "{{ prometheus_port }}"
57
58 collectd_plugin_syslog_loglevel: "{{ syslog_log_level }}"