summaryrefslogtreecommitdiff
path: root/inventory/group_vars
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/group_vars
parentrevamp prometheus metric lables for ipmi/remote and nut/ups (diff)
prometheus: incooporate multitarget labelding to elevate hosts as well
Diffstat (limited to 'inventory/group_vars')
-rw-r--r--inventory/group_vars/ele-ups/vars.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/inventory/group_vars/ele-ups/vars.yml b/inventory/group_vars/ele-ups/vars.yml
index 6146bc37..7d99ac83 100644
--- a/inventory/group_vars/ele-ups/vars.yml
+++ b/inventory/group_vars/ele-ups/vars.yml
@@ -20,6 +20,5 @@ prometheus_exporters_default:
prometheus_job_multitarget_nut__ups:
ele-calypso:
- - instance: "ups-{{ ups_name }}"
- ups: "{{ ups_name }}"
+ - ups: "{{ ups_name }}"
server: "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}"