From c889923a4b0a593ff20b2fc4b8d7f07a81cf82c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Tue, 18 Nov 2025 12:19:45 +0100 Subject: [PATCH] fix(gatus): Add Grafana IRM Alerting --- values/gatus/values/values.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/values/gatus/values/values.yaml b/values/gatus/values/values.yaml index aa64bc2c..86beea8b 100644 --- a/values/gatus/values/values.yaml +++ b/values/gatus/values/values.yaml @@ -22,6 +22,28 @@ config: header: Oceanbox Service Status logo: https://maps.oceanbox.io/ob.png link: https://maps.oceanbox.io + default-sort-by: "group" + + alerting: + custom: + url: "https://oncall-prod-eu-west-0.grafana.net/oncall/integrations/v1/formatted_webhook/WmWq7fQWMJtv1Xty1V4jJHqRV/" + method: "POST" + body: | + { + "title": "[ENDPOINT_GROUP] ➔ [ENDPOINT_NAME]", + "message": "[ALERT_TRIGGERED_OR_RESOLVED]: [ENDPOINT_GROUP] ➔ [ENDPOINT_NAME] ➔ [ALERT_DESCRIPTION]", + "state": "[ALERT_TRIGGERED_OR_RESOLVED]", + "image_url": "" + } + headers: + Content-Type: "application/json" + send-on-resolved: true + failure-threshold: 3 + success-threshold: 2 + placeholders: + ALERT_TRIGGERED_OR_RESOLVED: + TRIGGERED: "alerting" + RESOLVED: "ok" .defaults: &defaults interval: 30s