seems like I forgor to implement alerting in gatus...

This commit is contained in:
Erik Grobecker 2024-12-29 14:33:54 +01:00
parent 62184f25f5
commit f6da44e00f
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
2 changed files with 24 additions and 0 deletions

View file

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

View file

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