From e1e238a348d341cdae1fc951e5e5f00b2c0c4743 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Apr 2022 23:49:06 +0200 Subject: surtr: ... --- hosts/surtr/prometheus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix index a3ce4976..e38fdcb2 100644 --- a/hosts/surtr/prometheus/default.nix +++ b/hosts/surtr/prometheus/default.nix @@ -113,7 +113,7 @@ in { metrics_path = "/probe"; params = { module = ["dns_soa"]; }; static_configs = [ - { targets = ["127.0.0.53:53" "127.0.0.1:53"]; } + { targets = ["127.0.0.53:53" "127.0.0.1:5353"]; } ]; relabel_configs = [ { source_labels = ["__address__"]; @@ -127,7 +127,7 @@ in { } { source_labels = ["__param_target"]; target_label = "job"; - regex = "127\.0\.0\.1:53"; + regex = "127\.0\.0\.1:5353"; replacement = "unbound.dns_soa"; } { replacement = "localhost:${toString config.services.prometheus.exporters.blackbox.port}"; -- cgit v1.2.3