From 8facfae8a241d4f7ead18abe5abdf479b27d3fc6 Mon Sep 17 00:00:00 2001 From: Ian Thompson Date: Thu, 25 Jun 2026 11:45:15 +0100 Subject: [PATCH 1/2] docs>14-monitoring.md: Update docs for filtering Slack alerts by severity Update documentation with details on sending critical and warning alerts to different Slack webhooks. See https://github.com/azimuth-cloud/ansible-collection-azimuth-ops/pull/1266 for the corresponding implementation. --- docs/configuration/14-monitoring.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/configuration/14-monitoring.md b/docs/configuration/14-monitoring.md index 631ad6ac..557afce6 100644 --- a/docs/configuration/14-monitoring.md +++ b/docs/configuration/14-monitoring.md @@ -114,6 +114,24 @@ alerts to Slack: alertmanager_config_slack_webhook_url: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX #gitleaks:allow ``` +To send critical and warning severity alerts to different Slack channels (different webhooks) extra configuration can be provided: + +```yaml +alertmanager_config_slack_critical_webhook_url: https://... +alertmanager_config_slack_warning_webhook_url: https://... +``` + +The routing rules depend on the presence of the webhooks, details below: + +| Default webhook | Critical webhook | Warning webhook | Critical messages | Warning messages | +| --------------- | ---------------- | --------------- | ---------------------- | --------------------- | +| - | x | x | Go to critical channel | Go to warning channel | +| x | - | x | Go to default channel | Go to warning channel | +| x | x | - | Go to critical channel | Go to default channel | +| x | - | - | Go to default channel | Go to default channel | +| - | x | - | Config not deployed | Config not deployed | +| - | - | x | Config not deployed | Config not deployed | + !!! danger The webhook URL should be kept secret. If you want to keep it in Git - which is recommended - then it must be encrypted. From a9016823f8f5748bfa010e3051f00a0b9edf7578 Mon Sep 17 00:00:00 2001 From: Ian Thompson Date: Wed, 1 Jul 2026 15:59:12 +0100 Subject: [PATCH 2/2] README.md: Update version of super-linter in local run command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16347451..4a577f0e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ docker run --rm \ -e RUN_LOCAL=true \ --env-file "super-linter.env" \ -v "$(pwd)":/tmp/lint \ - ghcr.io/super-linter/super-linter:v7.3.0 + ghcr.io/super-linter/super-linter:v8.6.0 ``` Note: For M-series Apple devices and other ARM processors, add `--platform linux/amd64`