summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-sensors/vars.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-05 02:51:02 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-05 02:51:02 +0200
commita9de7fd9f9d97cefff30e72b2e384ef6b267f093 (patch)
tree62b9e593380629ac0fb05ef288a3a637dabbd2e4 /inventory/group_vars/chaos-at-home-sensors/vars.yml
parentmove sensor nodes to new openwrt release (diff)
add sensor nodes to prometheus zone
Diffstat (limited to 'inventory/group_vars/chaos-at-home-sensors/vars.yml')
-rw-r--r--inventory/group_vars/chaos-at-home-sensors/vars.yml5
1 files changed, 5 insertions, 0 deletions
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