summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ups/vars.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-26 03:32:47 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-26 03:32:47 +0200
commitcc89d6d4211aa5aec8e5bef8c854d4929c337887 (patch)
treecfad00b79ed9b475cf50ec85ea18fded07efb99e /inventory/group_vars/chaos-at-home-ups/vars.yml
parentmove away from exporter-exporter in favor for nginx (diff)
improved promethues multitarget support
Diffstat (limited to 'inventory/group_vars/chaos-at-home-ups/vars.yml')
-rw-r--r--inventory/group_vars/chaos-at-home-ups/vars.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/inventory/group_vars/chaos-at-home-ups/vars.yml b/inventory/group_vars/chaos-at-home-ups/vars.yml
index f8c1bdf1..7b60e893 100644
--- a/inventory/group_vars/chaos-at-home-ups/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ups/vars.yml
@@ -11,8 +11,8 @@ prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_z
prometheus_exporters_default:
- openwrt
-prometheus_job_nut__ups:
- - exporter_hostname: ch-mon
- instance: "ups-{{ ups_name }}"
+prometheus_job_multitarget_nut__ups:
+ ch-mon:
+ - instance: "ups-{{ ups_name }}"
ups: "{{ ups_name }}"
server: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}"