summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-prometheus.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-19 13:57:27 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-19 13:57:27 +0200
commitab97569f03c44e563237886fbcf2b81fb945f009 (patch)
treef71208d593d453924b9fee655448211ebe8dcb4b /inventory/host_vars/ch-prometheus.yml
parentbind/zones: add DMARC policies (diff)
prometheus: revamp labels for metrcis from blackbox exporter
Diffstat (limited to 'inventory/host_vars/ch-prometheus.yml')
-rw-r--r--inventory/host_vars/ch-prometheus.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml
index de7e273b..df6fa39a 100644
--- a/inventory/host_vars/ch-prometheus.yml
+++ b/inventory/host_vars/ch-prometheus.yml
@@ -64,7 +64,8 @@ prometheus_exporter_ipmi_modules:
prometheus_job_multitarget_blackbox__probe:
ch-mon:
- - instance: "ssh-{{ inventory_hostname }}"
+ - svc_kind: ssh
+ svc_name: "{{ inventory_hostname }}"
target: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
module: ssh_banner