summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-07-17 22:27:20 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-17 22:27:20 +0200
commit08ea5ccfaebe3881fc5779bdb2a5884e225a0c70 (patch)
tree7bb528bbaff7cc78514ce26fe06b776db7c055e2 /roles/monitoring/prometheus/exporter/node
parentadd support for chrony_exporter (replaces textfile collector) (diff)
remove automatic selection for time-sync metrics and always use timex
- ntp collector is deprecated - timex collector is enable by default - openntpd in all supported OS version is now new enough to support timex
Diffstat (limited to 'roles/monitoring/prometheus/exporter/node')
-rw-r--r--roles/monitoring/prometheus/exporter/node/defaults/main.yml9
1 files changed, 0 insertions, 9 deletions
diff --git a/roles/monitoring/prometheus/exporter/node/defaults/main.yml b/roles/monitoring/prometheus/exporter/node/defaults/main.yml
index ab4cee38..b9e4a6c7 100644
--- a/roles/monitoring/prometheus/exporter/node/defaults/main.yml
+++ b/roles/monitoring/prometheus/exporter/node/defaults/main.yml
@@ -1,17 +1,8 @@
---
# prometheus_exporter_node_version:
-_prometheus_exporter_node_time_collector_map_:
- "": timex
- systemd-timesyncd: timex
- chrony: timex
- openntpd: ntp
-
-prometheus_exporter_node_timesync_collector: "{{ _prometheus_exporter_node_time_collector_map_[ntp_variant | default('')] }}"
-
prometheus_exporter_node_disable_collectors: []
prometheus_exporter_node_extra_collectors:
- - "{{ prometheus_exporter_node_timesync_collector }}"
- systemd
prometheus_exporter_node_install_apt_textfile_collector_script: "{{ ansible_pkg_mgr == 'apt' }}"