From b8015c0bed9cb60c59654975fe709f5d520812ff Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 19 Jun 2024 08:35:16 -0500 Subject: [PATCH] v-m: blackbox: Force TCP probe to IPv4 Since I added an IPv6 ULA prefix to the "main" VLAN (to allow communicating with the Synology directly), the domain controllers now have AAAA records. This causes the `sambadc` screpe job to fail because Blackbox Exporter prefers IPv6 by default, but Kubernetes pods do not have IPv6 addreses. --- victoria-metrics/blackbox.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/victoria-metrics/blackbox.yml b/victoria-metrics/blackbox.yml index 08dfec1..d99cf00 100644 --- a/victoria-metrics/blackbox.yml +++ b/victoria-metrics/blackbox.yml @@ -40,3 +40,6 @@ modules: tcp: prober: tcp timeout: 5s + tcp: + preferred_ip_protocol: ip4 + ip_protocol_fallback: false