diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-06-30 00:32:19 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-06-30 00:32:19 +0200 |
commit | 7220af6cefd8e066f9b55961f6f035480f520a09 (patch) | |
tree | 11f660aa745ebed88e2deaa7eeb9ea6f12885da0 /inventory/host_vars/ele-dione.yml | |
parent | revamp 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-dione.yml')
-rw-r--r-- | inventory/host_vars/ele-dione.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inventory/host_vars/ele-dione.yml b/inventory/host_vars/ele-dione.yml index 7b1d98d7..7f5b8a31 100644 --- a/inventory/host_vars/ele-dione.yml +++ b/inventory/host_vars/ele-dione.yml @@ -98,6 +98,7 @@ 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.emc.prefix | ansible.utils.ipaddr(network_zones.emc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}" module: ssh_banner |