modules/nixos/monitoring/alert-rules: drop localhost_reboot
This commit is contained in:
parent
cff61f5f73
commit
8e1423592b
1 changed files with 1 additions and 6 deletions
|
@ -106,13 +106,8 @@ lib.mapAttrsToList
|
|||
description = "{{$labels.host}} is running with load15 > 1 for at least 5 minutes: {{$value}}";
|
||||
};
|
||||
|
||||
localhost_reboot = {
|
||||
condition = ''system_uptime{instance="localhost:9273"} < 900'';
|
||||
description = "{{$labels.host}} just rebooted";
|
||||
};
|
||||
|
||||
reboot = {
|
||||
condition = ''system_uptime{instance!="localhost:9273"} < 300'';
|
||||
condition = ''system_uptime < 300'';
|
||||
description = "{{$labels.host}} just rebooted";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue