From 33e4283949c9b61c792ad98eb782fbf87a03480a Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Mon, 13 Mar 2023 11:07:58 +0000
Subject: [PATCH] Increase load15 alert to only fire if it's over 1 for 2 hours
 or more

Recently this alarm fired a couple of times when the backup self-
check ran.

Set it to alert only when load is over 1 for longer than 2 hours.
---
 .../server/grafana-dashboards/resources-overview.json           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nixos/modules/monitoring/server/grafana-dashboards/resources-overview.json b/nixos/modules/monitoring/server/grafana-dashboards/resources-overview.json
index 8b12a418..98e0e1e1 100644
--- a/nixos/modules/monitoring/server/grafana-dashboards/resources-overview.json
+++ b/nixos/modules/monitoring/server/grafana-dashboards/resources-overview.json
@@ -155,7 +155,7 @@
           }
         ],
         "executionErrorState": "alerting",
-        "for": "5m",
+        "for": "2h",
         "frequency": "1m",
         "handler": 1,
         "name": "15 min load average alert",
-- 
GitLab