seems like I forgor to implement alerting in gatus...
This commit is contained in:
parent
62184f25f5
commit
f6da44e00f
2 changed files with 24 additions and 0 deletions
|
@ -2,6 +2,15 @@ storage:
|
||||||
type: sqlite
|
type: sqlite
|
||||||
path: /data/data.db
|
path: /data/data.db
|
||||||
|
|
||||||
|
alerting:
|
||||||
|
ntfy:
|
||||||
|
url: "https://ntfy.grobecker.me"
|
||||||
|
topic: "status"
|
||||||
|
priority: 2
|
||||||
|
default-alert:
|
||||||
|
failure-threshold: 3
|
||||||
|
send-on-resolved: true
|
||||||
|
|
||||||
endpoints:
|
endpoints:
|
||||||
- name: homepage
|
- name: homepage
|
||||||
group: exposed
|
group: exposed
|
||||||
|
|
|
@ -56,3 +56,18 @@ endpoints:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Alerting
|
||||||
|
|
||||||
|
Currently _Gatus_ notifies me using _ntfy_ as soon as a service fails **three times**, which is implemented below:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
alerting:
|
||||||
|
ntfy:
|
||||||
|
url: "https://ntfy.grobecker.me"
|
||||||
|
topic: "status"
|
||||||
|
priority: 2
|
||||||
|
default-alert:
|
||||||
|
failure-threshold: 3
|
||||||
|
send-on-resolved: true
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue