From dcb9f7d26fd7f845586a979fb1793089de108e04 Mon Sep 17 00:00:00 2001 From: IamTheFij Date: Fri, 11 Aug 2023 07:08:00 -0400 Subject: [PATCH] Add log alert back to minitor --- services/minitor-config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/minitor-config.yml b/services/minitor-config.yml index f1eecce..ea9b55e 100644 --- a/services/minitor-config.yml +++ b/services/minitor-config.yml @@ -56,6 +56,10 @@ monitors: - 'https://photoprism.thefij.rocks' alerts: + log: + command: + - echo + - "{{.MonitorName}} {{if .IsUp}}has recovered{{else}}check has failed {{.FailureCount}} times{{end}}" mailgun: command: > curl -sS -X POST