aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/telemetry/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-08 16:14:24 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-08 16:14:33 +0100
commita46aa03fe2ff8339a7d3e0b42a50e4e08fd30d33 (patch)
tree482de1640f4e832e26922804534b5b4ee63d6d95 /cluster/prod/app/telemetry/config
parenta6b84527b0c5f35d31c4a5b8b6ce77145bb48083 (diff)
downloadnixcfg-a46aa03fe2ff8339a7d3e0b42a50e4e08fd30d33.tar.gz
nixcfg-a46aa03fe2ff8339a7d3e0b42a50e4e08fd30d33.zip
prod: add monitoring of openwrt router
Diffstat (limited to 'cluster/prod/app/telemetry/config')
-rw-r--r--cluster/prod/app/telemetry/config/prometheus.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cluster/prod/app/telemetry/config/prometheus.yml b/cluster/prod/app/telemetry/config/prometheus.yml
index fd426cc..7e023ef 100644
--- a/cluster/prod/app/telemetry/config/prometheus.yml
+++ b/cluster/prod/app/telemetry/config/prometheus.yml
@@ -75,3 +75,8 @@ scrape_configs:
ca_file: /etc/prometheus/consul-ca.crt
cert_file: /etc/prometheus/consul-client.crt
key_file: /etc/prometheus/consul-client.key
+
+ - job_name: 'openwrt-node-exporter'
+ scrape_interval: 60s
+ static_configs:
+ - targets: ['192.168.1.1:29100']