modules/nixos/monitoring/alert-rules: bump filesystem full to 95%

This commit is contained in:
zowoq 2024-08-11 12:05:55 +10:00
parent 99c7b09655
commit a7dfa3d0ce

View file

@ -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'';