Content-Length: 261257 | pFad | http://github.com/xuyaoqiang/elastalert-dingtalk-plugin

DB GitHub - xuyaoqiang/elastalert-dingtalk-plugin: elastalert 的钉钉报警插件
Skip to content

xuyaoqiang/elastalert-dingtalk-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elastalert-dingtalk-plugin

安装

sudo apt install -y  python-pip python-dev libffi-dev libssl-dev
sudo pip install -r requirements.txt 

修改配置:

config.yaml:

  • es_host: elasticsearch 地址
  • es_port: elasticsearch 端口

修改添加报警规则

启用钉钉的报警,需添加必要的配置, 例如

alert:
- dingtalk 

dingtalk_webhook: your-dingtalk-robot-webhook-url
dingtalk_msgtype: text

报警规则在rules目录中,可以随意的添加格式报警规则

创建警报的index:

    elastalert-create-index --index elastalert_status --old-index 

运行:

python -m elastalert.elastalert --verbose

About

elastalert 的钉钉报警插件

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/xuyaoqiang/elastalert-dingtalk-plugin

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy