diff --git a/docker/gatus/config/config.yaml b/docker/gatus/config/config.yaml index 3084d83..d021c0c 100644 --- a/docker/gatus/config/config.yaml +++ b/docker/gatus/config/config.yaml @@ -2,6 +2,15 @@ storage: type: sqlite 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: - name: homepage group: exposed diff --git a/docs/gatus.md b/docs/gatus.md index 18af2f6..a3c1bd9 100644 --- a/docs/gatus.md +++ b/docs/gatus.md @@ -56,3 +56,18 @@ endpoints: - "[STATUS] == 200" - "[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 +```