From f221675dd349666dae93850c01b0906a750b116e Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 3 Jan 2025 23:29:27 +0100
Subject: [PATCH] Increase the timeout for HostUnreachable

Require more ICMP probes to fail before the alert triggers.
---
 .../float-infra-prometheus/templates/rules/alerts_base.conf.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/float-infra-prometheus/templates/rules/alerts_base.conf.yml b/roles/float-infra-prometheus/templates/rules/alerts_base.conf.yml
index eb04ce17..861cf3bd 100644
--- a/roles/float-infra-prometheus/templates/rules/alerts_base.conf.yml
+++ b/roles/float-infra-prometheus/templates/rules/alerts_base.conf.yml
@@ -9,7 +9,7 @@ groups:
   # might fire immediately after the transition.
   - alert: HostUnreachable
     expr: min_over_time(host_reachable[10m]) == 0
-    for: 1m
+    for: 2m
     labels:
       severity: warn
     annotations:
-- 
GitLab