blob: 2b66c045612c1853fffe302dcfe3faf3f6c65476 (
plain)
1
2
3
4
5
6
7
8
9
|
[service:website]
url = https://example.com
cmd = curl --fail https://example.com
on_fail = mail -s "website is down" you@example.com
on_recover = mail -s "website is back up" you@example.com
[service:api]
url = https://api.example.com
cmd = curl --fail https://api.example.com/health
|