-
运行docker run启动容器, 其中accessToken替换为实际的对应值
docker run -d --name alertmanager-dingtalk --restart always -e accessToken="accessToken" -p 9166:9166 jrohy/alertmanager-dingtalk
-
配置alertmanager webhook规则:
receivers: - name: 'alert-webhook' webhook_configs: - url: http://xx.xx.xx.xx:9166/alert send_resolved: true