This is a package for sending messages to enterprise WeChat applications in zabbix
Project description
This is a package for sending messages to enterprise WeChat applications in zabbix. You can use Github
View at:
https://pypi.org/project/ZabbixQywechat/1.0.3/
pip install ZabbixQywechat
Demo test
from ZabbixQywechat import Qywechat
import sys
Agentid="1000002"
Corpid="1111"
Corpsecret="2222"
PATH="/tmp/test.json"
if __name__ == '__main__':
Touser=sys.argv[1]
Subject=str(sys.argv[2])
Content=str(sys.argv[3])
Result=Qywechat(Agentid,Corpid,Corpsecret,PATH)
Result.SendMSGtoWechat(Touser,Subject,Content)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ZabbixQywechat-1.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for ZabbixQywechat-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3374906adf47ec3795c86a753318d2429d30bebf8deaf9c4f556660a6da709d |
|
MD5 | 5392587a2ac44efaa836ae00390338d5 |
|
BLAKE2b-256 | 782ba9dfe59da7023caf72570825ad0e73cc223fc1a33cc8a1d56dc4342334e2 |