alertmanager-discord:将Alertmanager警报转发到Discord

时间:2021-02-11 04:26:35
【文件属性】:
文件名称:alertmanager-discord:将Alertmanager警报转发到Discord
文件大小:173KB
文件格式:ZIP
更新时间:2021-02-11 04:26:35
Go 警报经理失调 这项工作最初是基于但大部分已被重写。 给它一个webhook(带有DISCORD_WEBHOOK环境变量)并将其指向alertmanager上的一个webhook,它将在警报触发时将警报发布到不和谐频道中。 示例警报管理器配置: global: # The smarthost and SMTP sender used for mail notifications. smtp_smarthost: 'localhost:25' smtp_from: 'alertmanager@example.org' smtp_auth_username: 'alertmanager' smtp_auth_password: 'password' # The directory from which notification templates are read. t
【文件预览】:
alertmanager-discord-master
----.golangci.yml(171B)
----go.mod(384B)
----.github()
--------screenshot.png(171KB)
----go.sum(62KB)
----.prettierignore(11B)
----Dockerfile(375B)
----README.md(1KB)
----Makefile(522B)
----.drone.yml(9KB)
----renovate.json(41B)
----.gitignore(1KB)
----payload_example.json(2KB)
----cmd()
--------alertmanager-discord()

网友评论