标签:cat amd mod weixin ast usr git 微信报警 cafe
zabbix 微信报警:login https://work.weixin.qq.com/
creat application
find --corpid --agentid --corpsecret
grep alertscripts /etc/zabbix/zabbix_server.conf
cd /usr/lib/zabbix/alertscripts
wget https://raw.githubusercontent.com/OneOaaS/weixin-alert/master/weixin_linux_amd64
chmod 755 wechat
chown zabbix:zabbix wechat
wechat --corpid=wwXXXXXXXX92a0 --corpsecret=cHUP8PEInolvJUv5BnXJUwLKyKl8L9SY7vJ5Fl6NjQw --msg="您好</br>告警测试" --user=ZhaXXXXXXng --agentid=1000002
标签:cat amd mod weixin ast usr git 微信报警 cafe
原文地址:https://blog.51cto.com/zhangfang526/2559751