From 4bdaaf2dae06408eda27eae9c8953586bf9546aa Mon Sep 17 00:00:00 2001 From: Julian Labus Date: Fri, 5 Apr 2019 09:28:45 +0200 Subject: [PATCH] service-prometheus: update internal domain for ICMP targets --- roles/service-prometheus/templates/prometheus.yml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/service-prometheus/templates/prometheus.yml.j2 b/roles/service-prometheus/templates/prometheus.yml.j2 index 74f5516..6622a7a 100644 --- a/roles/service-prometheus/templates/prometheus.yml.j2 +++ b/roles/service-prometheus/templates/prometheus.yml.j2 @@ -66,8 +66,7 @@ scrape_configs: {% for group in prometheus_groups %} {% for host in groups[group] %} {% if host != inventory_hostname %} - - "{{ host.rsplit('.')[0] }}.ffwi.org" - - "{{ host.rsplit('.')[0] }}.ffmz.org" + - "{{ host.rsplit('.')[0] }}.ffmwu.org" {% endif %} {% endfor %} {% endfor %}