Add log alert back to minitor

This commit is contained in:
IamTheFij 2023-08-11 07:08:00 -04:00
parent 64d61d69a1
commit dcb9f7d26f
1 changed files with 4 additions and 0 deletions

View File

@ -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