From 8ac96b2d105cc35c19dac50ea274db6de71912c8 Mon Sep 17 00:00:00 2001 From: Berwn Date: Wed, 17 Jun 2026 10:51:31 +0700 Subject: [PATCH] Enable IPv6 dialing for VictoriaMetrics scrapes The scraper defaults to IPv4-only, so the ns1/ns2 mesh ULA targets were dropped with 'no suitable address found'. -enableTCP6 lets VM scrape them. --- modules/monitoring/server.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/monitoring/server.nix b/modules/monitoring/server.nix index 37a2afa..9470b1d 100644 --- a/modules/monitoring/server.nix +++ b/modules/monitoring/server.nix @@ -29,6 +29,9 @@ in enable = true; listenAddress = "127.0.0.1:${toString vmPort}"; retentionPeriod = "180d"; + # The scraper dials IPv4-only by default; our ns1/ns2 targets are mesh ULAs, + # so without this VM drops them with "no suitable address found (try -enableTCP6)". + extraOptions = [ "-enableTCP6" ]; prometheusConfig = { global.scrape_interval = "30s"; scrape_configs = [