service/mumble: enable alarme when not running

This commit is contained in:
Felix Buehler 2023-06-19 21:58:45 +02:00
parent 382896ca7e
commit 3bf85421fb

View file

@ -29,5 +29,12 @@ in
};
users.groups."voice-buehler-rocks".members = [ "murmur" "nginx" ];
my.services.prometheus.rules = {
mumble_not_running = {
condition = ''systemd_unit_state{name="murmur.service", state!="active"} > 0'';
description = "{{$labels.host}} should have a running {{$labels.name}}";
};
};
};
}