summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ups/vars.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-08-28 18:35:24 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-08-28 18:35:24 +0200
commit5984697d98b5c953101aa8eef6c69db307d4a563 (patch)
treef5db17aeb140e9acb8e56b27167c2c8b7358a9f4 /inventory/group_vars/chaos-at-home-ups/vars.yml
parentpromethues generic vs special jobs (diff)
prometheus: add support special jobs (WIP)
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, 6 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home-ups/vars.yml b/inventory/group_vars/chaos-at-home-ups/vars.yml
index 3bdcd7ea..cc7ae585 100644
--- a/inventory/group_vars/chaos-at-home-ups/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ups/vars.yml
@@ -10,3 +10,9 @@ ups_query_sources:
prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}:9100"
prometheus_exporters_default:
- openwrt
+
+prometheus_special_job_nut:
+ exporter_hostname: ch-mon
+ instance: "ups-{{ ups_name }}"
+ ups: "{{ ups_name }}"
+ server: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}"