Add log alert back to minitor

This commit is contained in:
IamTheFij 2023-08-11 07:08:00 -04:00
parent 64d61d69a1
commit dcb9f7d26f

View File

@ -56,6 +56,10 @@ monitors:
- 'https://photoprism.thefij.rocks' - 'https://photoprism.thefij.rocks'
alerts: alerts:
log:
command:
- echo
- "{{.MonitorName}} {{if .IsUp}}has recovered{{else}}check has failed {{.FailureCount}} times{{end}}"
mailgun: mailgun:
command: > command: >
curl -sS -X POST curl -sS -X POST