2020-10-23 02:43:28 +02:00
|
|
|
Get Zulip notifications from Alertmanager!
|
2020-02-07 10:04:22 +01:00
|
|
|
|
|
|
|
1. {!create-stream.md!}
|
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!create-bot-construct-url.md!}
|
2020-02-07 10:04:22 +01:00
|
|
|
|
|
|
|
Additionally, you may specify URL parameters named `name` and `desc` to specify which labels
|
|
|
|
or annotations will be used to construct the alert message. This allows you to use arbitrary labels
|
|
|
|
and annotations defined in your alerting rules.
|
|
|
|
|
|
|
|
{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=stream%20name&name=host&desc=alertname
|
|
|
|
|
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:
|
|
|
|
- url: "<the URL constructed above>"
|
|
|
|
```
|
2020-02-07 10:04:22 +01:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/alertmanager/001.png)
|