mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
service/mumble: enable alarme when not running
This commit is contained in:
parent
382896ca7e
commit
3bf85421fb
1 changed files with 7 additions and 0 deletions
|
@ -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}}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue