modules/nixos/monitoring/alert-rules: add matrix-alertmanager-receiver
This commit is contained in:
parent
60f7387d88
commit
f68b4d7a02
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ lib.mapAttrsToList
|
|||
description = "{{$labels.host}} failed to (re)start service {{$labels.name}}";
|
||||
};
|
||||
|
||||
matrix_alertmanager_receiver_not_running = {
|
||||
condition = ''systemd_units_active_code{name="matrix-alertmanager-receiver.service", sub!="running"}'';
|
||||
description = "{{$labels.host}} should have a running {{$labels.name}}";
|
||||
};
|
||||
|
||||
ram_using_95percent = {
|
||||
condition = "mem_buffered + mem_free + mem_cached < mem_total * 0.05";
|
||||
time = "1h";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue