Skip to content

loong576/Wechat-Alert-for-Zabbix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Wechat-Alert-for-Zabbix

zabbix微信告警脚本 参考文档:https://work.weixin.qq.com/api/doc#10167

程序编写环境:
os:centos7
python:2.7.5

本文档通过“touser”和“toparty”参数控制向用户或部门发送告警微信。执行如下:
启用toparty参数,向部门发送微信:
Image text

Image text

zabbix运行此脚本时需修改脚本所在目录属主和执行权限:

[root@zabbix-server alertscripts]# chown -R zabbix:zabbix /etc/zabbix/alertscripts/
[root@zabbix-server alertscripts]# chmod -R 755 /etc/zabbix/alertscripts/

详细搭建过程及测试:
http://blog.51cto.com/3241766/2108769

About

zabbix微信告警脚本

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages