send start and stop healthchecks signals correctly

This commit is contained in:
Alex Tau 2025-08-15 20:11:32 +03:00
parent 13fd4b05d9
commit 878a4fc092
8 changed files with 54 additions and 38 deletions

View file

@ -26,8 +26,7 @@ in
enabledCheckSets = lib.mkOption {
type = lib.types.listOf (lib.types.enum [
"start"
"stop"
"self"
"remind"
"cpu"
@ -40,8 +39,7 @@ in
default = [ ];
description = ''
List of enabled check sets. Each check set is a module which checks something and generates alerts based on check results. Available check sets:
* start -- send an alert when lego-monitoring is started
* stop -- send an alert when lego-monitoring is stopped
* self -- send an alert when lego-monitoring is started and stopped
* remind -- periodically (daily by default) remind about ongoing unresolved alerts
* cpu -- alerts when CPU usage is above threshold
* ram -- alerts when RAM usage is above threshold