Files
zulip/zerver/webhooks/alertmanager/doc.md
Anders Kaseorg dc33a0ae67 markdown: Rewrite include plugin without markdown-include.
markdown-include is GPL licensed.

Also, rewrite it as a block processor, so that it works correctly
inside indented blocks.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-06-26 17:36:31 -07:00

24 lines
697 B
Markdown

Get Zulip notifications from Alertmanager!
1. {!create-stream.md!}
1. {!create-bot-construct-url.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)