Update defaults and add tests for them

This commit is contained in:
Ian Fijolek
2025-12-11 16:06:01 -08:00
parent 85afa3d9ef
commit 5c97f2e5c4
7 changed files with 105 additions and 29 deletions
+5
View File
@@ -8,6 +8,11 @@ alert "log_shell" {
shell_command = "echo \"Failure on {{.MonitorName}} User is $USER\""
}
monitor "Default" {
command = ["echo"]
alert_down = ["log_command"]
}
monitor "Command" {
command = ["echo", "$PATH"]
alert_down = ["log_command", "log_shell"]