summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mon.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-11-07 13:57:32 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-11-07 13:57:32 +0100
commite2fabf28b803e4005d22a4584af4c2dde292fb68 (patch)
treea38cfbc98c4cffbfe8aa2959b7906e904ce934f3 /inventory/host_vars/ch-mon.yml
parentgrafana/smokeping: minor tweaks for dashboard (diff)
prometheus/smokeping: some more tweaks and swtich to ch-atlas for mur.at target
Diffstat (limited to 'inventory/host_vars/ch-mon.yml')
-rw-r--r--inventory/host_vars/ch-mon.yml9
1 files changed, 4 insertions, 5 deletions
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: