summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inventory/group_vars/chaos-at-home-sensors/vars.yml5
-rw-r--r--inventory/hosts.ini1
2 files changed, 6 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
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index f583db48..06d360a0 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -412,6 +412,7 @@ ch-testvm-prometheus
[promzone-chaos-at-home:children]
chaos-at-home-ap
chaos-at-home-ups
+chaos-at-home-sensors
promzone-chaos-at-home-server
[promzone-elevate-festival-server]