modules/nixos/monitoring: matrix-alertmanager-receiver -> matrix-hook

This commit is contained in:
zowoq 2023-08-16 08:01:08 +10:00
parent 076e33ddcc
commit e9a020cfd5
5 changed files with 57 additions and 52 deletions
modules/nixos/monitoring

View file

@ -89,8 +89,8 @@ 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"}'';
matrix_hook_not_running = {
condition = ''systemd_units_active_code{name="matrix-hook.service", sub!="running"}'';
description = "{{$labels.host}} should have a running {{$labels.name}}";
};