modules/nixos/monitoring/alert-rules: alert at 90% disk usage
This commit is contained in:
parent
59a3df7098
commit
5c7bab039b
1 changed files with 3 additions and 3 deletions
|
@ -13,10 +13,10 @@
|
|||
{
|
||||
Filesystem80percentFull.enable = false;
|
||||
|
||||
Filesystem85percentFull = {
|
||||
expr = ''disk_used_percent{mode!="ro"} >= 85'';
|
||||
Filesystem90percentFull = {
|
||||
expr = ''disk_used_percent{mode!="ro"} >= 90'';
|
||||
for = "10m";
|
||||
annotations.description = "{{$labels.host}} device {{$labels.device}} on {{$labels.path}} got less than 15% space left on its filesystem";
|
||||
annotations.description = "{{$labels.host}} device {{$labels.device}} on {{$labels.path}} got less than 10% space left on its filesystem";
|
||||
};
|
||||
|
||||
Load15.expr = lib.mkForce ''system_load15 / system_n_cpus{host!~"(build|darwin).*"} >= 2.0'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue