about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-06 19:30:42 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-06 19:30:42 -0800
commit7c72dcab69d7f552d46bfcb03d237f0ef0ee1e3e (patch)
treee36fc7e47b323770051dc1ee6d2153f2acb86d9f /hosts
parentprometheus: scrape from unifi-poller (diff)
downloadworld-7c72dcab69d7f552d46bfcb03d237f0ef0ee1e3e.tar.gz
prometheus: scrap unifi poller on the correct IP
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/server/prometheus.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix
index 6c6af80..d939a5a 100644
--- a/hosts/common/server/prometheus.nix
+++ b/hosts/common/server/prometheus.nix
@@ -47,7 +47,7 @@ in {
       }
       {
         job_name = "unifi-poller";
-        static_configs = [{ targets = [ "192.168.6.107:9130" ]; }];
+        static_configs = [{ targets = [ "192.168.6.20:9130" ]; }];
         relabel_configs = relabelConfigs;
       }
     ];