From e2fabf28b803e4005d22a4584af4c2dde292fb68 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 7 Nov 2022 13:57:32 +0100 Subject: prometheus/smokeping: some more tweaks and swtich to ch-atlas for mur.at target --- inventory/host_vars/ch-mon.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml index 2ed18bc8..eda5122d 100644 --- a/inventory/host_vars/ch-mon.yml +++ b/inventory/host_vars/ch-mon.yml @@ -98,14 +98,13 @@ prometheus_exporters_extra: prometheus_exporter_smokeping_targets: - hosts: - - 62.99.185.129 - - 195.58.160.194 - - 195.58.161.122 + - "{{ network_zones.magenta.gateway }}" + - "{{ network_zones.magenta.dns[0] }}" + - "{{ network_zones.magenta.dns[1] }}" - 9.9.9.9 - 8.8.8.8 - 1.1.1.1 - - 89.106.208.33 - + - "{{ hostvars['ch-atlas'].vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(hostvars['ch-atlas'].vm_host.network.bridges.public.offsets['ch-atlas']) | ipaddr('address') }}" prometheus_job_multitarget_blackbox__probe: ch-mon: -- cgit v1.2.3