Skip to content

chimojiacai/grafana-wecaht-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grafana-wecaht-alert

grafana 企业微信 报警系统

介绍

打包文件

    1. export GOPROXY=https://goproxy.io,direct
    2. go mod tidy 
    3. go build main.go -o wechat-alert
    4 ./wechat-alert

配置请求方式

 1. 在grafana中配置webhook
 2. Webhook settings里添写 
    http://你的ip:88/send?key=微信的key
 3. 点击Send Test 
 
 备注:Username和Password 无关紧要,可以随意填写。

备注

代码里实现了 发送企业微信的两种类型的消息。

  • markdown(默认)
  • news

结束

About

grafana 企业微信 报警系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages