2024-06-29 15:32:17 +02:00
|
|
|
# Zulip Prometheus Alertmanager integration
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2024-06-29 15:32:17 +02:00
|
|
|
Get Zulip notifications from Prometheus Alertmanager!
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2024-06-29 15:32:17 +02:00
|
|
|
{start_tabs}
|
2023-09-21 02:23:45 +02:00
|
|
|
|
2024-06-29 15:32:17 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2024-06-29 15:32:17 +02:00
|
|
|
1. {!generate-webhook-url-basic.md!}
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2020-10-23 02:43:28 +02:00
|
|
|
1. In your Alertmanager config, set up a new webhook receiver, like so:
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2023-02-27 19:05:30 +01:00
|
|
|
```
|
|
|
|
- name: ops-zulip
|
|
|
|
webhook_configs:
|
2024-06-29 15:32:17 +02:00
|
|
|
- url: "<the URL generated above>"
|
2023-02-27 19:05:30 +01:00
|
|
|
```
|
2020-02-07 10:04:22 +01:00
|
|
|
|
2024-06-29 15:32:17 +02:00
|
|
|
{end_tabs}
|
|
|
|
|
2020-02-07 10:04:22 +01:00
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/alertmanager/001.png)
|
2024-06-29 15:32:17 +02:00
|
|
|
|
|
|
|
### Configuration options
|
|
|
|
|
|
|
|
- You can specify a field defined in your alerting rules (for labels
|
|
|
|
and/or annotations) that will be used to group alerts with the same
|
|
|
|
status into a single alert message in Zulip by appending a `name`
|
|
|
|
parameter to the generated URL, e.g., `&name=severity`. The default
|
|
|
|
`name` value used in the integration is `instance`.
|
|
|
|
|
|
|
|
- You can specify a field defined in your alerting rules (for labels
|
|
|
|
and/or annotations) that will be used in the alert message text in
|
|
|
|
Zulip by appending a `desc` parameter to the generated URL, e.g.,
|
|
|
|
`&desc=description`. The default `desc` value used in the
|
|
|
|
integration is `alertname`.
|
|
|
|
|
|
|
|
### Related documentation
|
|
|
|
|
|
|
|
{!webhooks-url-specification.md!}
|