summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-27 19:34:20 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-27 19:34:20 +0200
commitedfa45bc9c45ad0629ae8bcf3ae9f12eab9ae5d8 (patch)
tree66cc8ab9a97fcc8758a1d1f0e36992e7687e8508 /inventory
parentaccesspoints: add prometheus exporter (diff)
add accesspoint job to promethues
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ele-mon.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-mon.yml b/inventory/host_vars/ele-mon.yml
index a8840ef2..9fe9558c 100644
--- a/inventory/host_vars/ele-mon.yml
+++ b/inventory/host_vars/ele-mon.yml
@@ -72,3 +72,16 @@ prometheus_alertmanager_web_route_prefix: /alertmanager/
grafana_secret_key: "{{ vault_grafana_secret_key }}"
+
+
+prometheus_server_jobs_extra: |
+ - job_name: 'node-openwrt'
+ scheme: http
+ static_configs:
+ - targets:
+ - 192.168.42.170:9100
+ - 192.168.42.171:9100
+ - 192.168.42.172:9100
+ - 192.168.42.173:9100
+ - 192.168.42.174:9100
+ - 192.168.42.175:9100