summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-epimetheus.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:34 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:34 +0200
commit8ef71cb6c33a134c1565a034a39a85b0a0a6324f (patch)
tree11f660aa745ebed88e2deaa7eeb9ea6f12885da0 /inventory/host_vars/ch-epimetheus.yml
parentbind/zones: add DMARC policies (diff)
parentprometheus: incooporate multitarget labelding to elevate hosts as well (diff)
Merge branch 'topic/promethues-multitarget-exporter-labels'
Diffstat (limited to 'inventory/host_vars/ch-epimetheus.yml')
-rw-r--r--inventory/host_vars/ch-epimetheus.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index 15e5f622..39ddbc3d 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -40,7 +40,8 @@ prometheus_exporter_node_textfile_collector_scripts:
prometheus_job_multitarget_blackbox__probe:
ch-mon:
- - instance: "ssh-{{ inventory_hostname }}"
+ - svc_kind: ssh
+ svc_instance: "{{ 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