summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-helene.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:19 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:19 +0200
commit7220af6cefd8e066f9b55961f6f035480f520a09 (patch)
tree11f660aa745ebed88e2deaa7eeb9ea6f12885da0 /inventory/host_vars/ele-helene.yml
parentrevamp prometheus metric lables for ipmi/remote and nut/ups (diff)
prometheus: incooporate multitarget labelding to elevate hosts as well
Diffstat (limited to 'inventory/host_vars/ele-helene.yml')
-rw-r--r--inventory/host_vars/ele-helene.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/inventory/host_vars/ele-helene.yml b/inventory/host_vars/ele-helene.yml
index 8d73ce80..48efb84b 100644
--- a/inventory/host_vars/ele-helene.yml
+++ b/inventory/host_vars/ele-helene.yml
@@ -66,7 +66,8 @@ prometheus_exporter_ipmi_modules:
prometheus_job_multitarget_blackbox__probe:
ele-calypso:
- - 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