blob: 3bdcd7eadf62214c68becb4fc24ad2c707d4082e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
---
network_mgmt_zone: "{{ network_zones.mgmt }}"
ups_name: "{{ inventory_hostname | regex_replace('^ch-ups-(.*)$', '\\1') }}"
ups_query_sources:
- "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets['ch-mon']) | ipaddr('address') }}"
- "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets['ch-equinox-ws']) | ipaddr('address') }}"
prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}:9100"
prometheus_exporters_default:
- openwrt
|