From a9de7fd9f9d97cefff30e72b2e384ef6b267f093 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 5 Sep 2021 02:51:02 +0200 Subject: add sensor nodes to prometheus zone --- inventory/group_vars/chaos-at-home-sensors/vars.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inventory/group_vars/chaos-at-home-sensors') diff --git a/inventory/group_vars/chaos-at-home-sensors/vars.yml b/inventory/group_vars/chaos-at-home-sensors/vars.yml index fc0972e8..dd39a2ec 100644 --- a/inventory/group_vars/chaos-at-home-sensors/vars.yml +++ b/inventory/group_vars/chaos-at-home-sensors/vars.yml @@ -139,3 +139,8 @@ openwrt_uci: ssid: '{{ network_zones.iot.wifi.ssid }}' encryption: 'psk2' key: '{{ network_zones.iot.wifi.key }}' + + +prometheus_scrape_endpoint: "{{ network_zones.iot.prefix | ipaddr(network_zones.iot.offsets[inventory_hostname]) | ipaddr('address') }}:9100" +prometheus_exporters_default: + - openwrt -- cgit v1.2.3