From a7dfa3d0ce0edb87c0a550be56e96125ab86e265 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Sun, 11 Aug 2024 12:05:55 +1000
Subject: [PATCH] modules/nixos/monitoring/alert-rules: bump filesystem full to
 95%

---
 modules/nixos/monitoring/alert-rules.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/nixos/monitoring/alert-rules.nix b/modules/nixos/monitoring/alert-rules.nix
index 385b88a..eaa08b4 100644
--- a/modules/nixos/monitoring/alert-rules.nix
+++ b/modules/nixos/monitoring/alert-rules.nix
@@ -27,10 +27,10 @@
 
         Filesystem80percentFull.enable = false;
 
-        Filesystem90percentFull = {
-          expr = ''disk_used_percent{mode!="ro"} >= 90'';
+        Filesystem95percentFull = {
+          expr = ''disk_used_percent{mode!="ro"} >= 95'';
           for = "10m";
-          annotations.description = "{{$labels.host}} device {{$labels.device}} on {{$labels.path}} got less than 10% space left on its filesystem";
+          annotations.description = "{{$labels.host}} device {{$labels.device}} on {{$labels.path}} got less than 5% space left on its filesystem";
         };
 
         Load15.expr = lib.mkForce ''system_load15 / system_n_cpus{host!~"(build|darwin).*"} >= 2.0'';