通过企业微信机器人向企业微信发送 Alertmanager 通知。
8.9K
详细说明见 GitHub 仓库:https://github.com/rea1shane/a2w
运行:
docker run --name a2w -d -p 5001:5001 rea1shane/a2w
在企业微信中创建机器人,在机器人的“webhook 地址”中获取 key 值,webhook 样式为:https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key={key}。
修改 Alertmanager 配置文件:
route:
receiver: "a2w"
receivers:
- name: "a2w"
webhook_configs:
- url: "http://{a2w_address}/send?key={key}"
Content type
Image
Digest
sha256:5a9cd83c7…
Size
9.4 MB
Last updated
about 2 years ago
docker pull rea1shane/a2w