summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ap
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-08-27 00:37:31 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-08-27 00:37:31 +0200
commit4de0d8c0cb55803c0dfca04911df303581e145ef (patch)
tree3747db0ca51af3e92625e1b28fcdaf26e266bab7 /inventory/group_vars/chaos-at-home-ap
parentadd prometheus exporter to ch-router (diff)
promethues server role support for openwrt
Diffstat (limited to 'inventory/group_vars/chaos-at-home-ap')
-rw-r--r--inventory/group_vars/chaos-at-home-ap/vars.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home-ap/vars.yml b/inventory/group_vars/chaos-at-home-ap/vars.yml
index fcd13ab6..640de99f 100644
--- a/inventory/group_vars/chaos-at-home-ap/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ap/vars.yml
@@ -45,3 +45,8 @@ accesspoint_wireless_ifaces_yaml: |
key: '{{ accesspoint_zones[zone].key }}'
{% endfor %}
{% endfor %}
+
+
+prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ipaddr('address') }}:9100"
+prometheus_exporters_default:
+ - openwrt