mirror of https://github.com/zulip/zulip.git
24 lines
706 B
Markdown
24 lines
706 B
Markdown
Get Zulip notifications from AlertManager!
|
|
|
|
1. {!create-stream.md!}
|
|
|
|
1. {!create-bot-construct-url-indented.md!}
|
|
|
|
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
|
|
|
|
1. In your AlertManager config, set up a new webhook receiver, like so:
|
|
|
|
```
|
|
- name: ops-zulip
|
|
webhook_configs:
|
|
- url: "<the url constructed above>"
|
|
```
|
|
|
|
{!congrats.md!}
|
|
|
|
![](/static/images/integrations/alertmanager/001.png)
|