From e8158e6c0f525e9324ebd61e95d81100fbbef374 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 10 May 2026 16:47:37 +0200 Subject: [PATCH] =?UTF-8?q?monitoring:=20fix=20prometheus=20=E2=86=92=20al?= =?UTF-8?q?ertmanager=20loopback=20(IPv4=20vs=20IPv6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alertmanager binds [::1]:9093 but Prometheus was dialing 127.0.0.1:9093 — connection refused, so alerts fired internally but never reached Alertmanager. Switch the target to [::1]:9093 to match the bind. Co-Authored-By: Claude Opus 4.7 (1M context) --- modules/monitoring-prometheus-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring-prometheus-server.nix b/modules/monitoring-prometheus-server.nix index 6b02d14..9aedc14 100644 --- a/modules/monitoring-prometheus-server.nix +++ b/modules/monitoring-prometheus-server.nix @@ -57,7 +57,7 @@ in { ]; alertmanagers = [{ - static_configs = [{ targets = [ "127.0.0.1:9093" ]; }]; + static_configs = [{ targets = [ "[::1]:9093" ]; }]; }]; alertmanager = {