about summary refs log tree commit diff
path: root/hosts/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/server/prometheus.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix
index 3c4ab94..00a7eba 100644
--- a/hosts/common/server/prometheus.nix
+++ b/hosts/common/server/prometheus.nix
@@ -46,6 +46,36 @@ in {
         relabel_configs = relabelConfigs;
       }
       {
+        job_name = "prometheus";
+        static_configs = [{ targets = [ "192.168.6.20:9090" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
+        job_name = "traefik";
+        static_configs = [{ targets = [ "192.168.6.20:8090" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
+        job_name = "dnsd";
+        static_configs = [{ targets = [ "192.168.6.1:8053" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
+        job_name = "dnsdd";
+        static_configs = [{ targets = [ "192.168.6.1:9060" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
+        job_name = "dhcpd";
+        static_configs = [{ targets = [ "192.168.6.1:8067" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
+        job_name = "netd";
+        static_configs = [{ targets = [ "192.168.6.1:8055" ]; }];
+        relabel_configs = relabelConfigs;
+      }
+      {
         job_name = "unifi-poller";
         static_configs = [{ targets = [ "192.168.6.20:9130" ]; }];
         relabel_configs = relabelConfigs;