From c97799b97c6e4e5ae530f45d19b024c39b24ce4e Mon Sep 17 00:00:00 2001
From: clerie <git@clerie.de>
Date: Mon, 2 Jun 2025 18:46:43 +0200
Subject: [PATCH] hosts/monitoring-3: Alert on broken IPv4 to IPv6 proxy

---
 hosts/monitoring-3/rules.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/hosts/monitoring-3/rules.yml b/hosts/monitoring-3/rules.yml
index 2493b04..bb0f5c9 100644
--- a/hosts/monitoring-3/rules.yml
+++ b/hosts/monitoring-3/rules.yml
@@ -87,3 +87,11 @@ groups:
     annotations:
       summary: "GPG {{ $labels.fingerprint }} is expiring soon"
       description: "GPG with fingerprint {{ $labels.fingerprint }} is expiring in less then six weeks"
+  - alert: NadjaTopIPv4ProxyBroken
+    expr: probe_success{job="blackbox_local_http6", target="blog.nadja.top"} != on (target) probe_success{job="blackbox_local_http4", target="blog.nadja.top"}
+    for: 5m
+    labels:
+      severity: critical
+    annotations:
+      summary: "blog.nadja.top unreachable via IPv4"
+      description: "blog.nadja.top unreachable IPv4, but reachable via IPv6"