diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-26 03:32:47 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-26 03:32:47 +0200 |
commit | cc89d6d4211aa5aec8e5bef8c854d4929c337887 (patch) | |
tree | cfad00b79ed9b475cf50ec85ea18fded07efb99e /inventory/group_vars/ele-ups | |
parent | move away from exporter-exporter in favor for nginx (diff) |
improved promethues multitarget support
Diffstat (limited to 'inventory/group_vars/ele-ups')
-rw-r--r-- | inventory/group_vars/ele-ups/vars.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inventory/group_vars/ele-ups/vars.yml b/inventory/group_vars/ele-ups/vars.yml index 1c4613a3..28a5eaff 100644 --- a/inventory/group_vars/ele-ups/vars.yml +++ b/inventory/group_vars/ele-ups/vars.yml @@ -14,8 +14,8 @@ prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_z prometheus_exporters_default: - openwrt -prometheus_job_nut__ups: - exporter_hostname: ele-mon - instance: "ups-{{ ups_name }}" - ups: "{{ ups_name }}" - server: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}" +prometheus_job_multitarget_nut__ups: + ele-mon: + - instance: "ups-{{ ups_name }}" + ups: "{{ ups_name }}" + server: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}" |