Add log alert back to minitor
This commit is contained in:
parent
64d61d69a1
commit
dcb9f7d26f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user