Skip to main content

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.1.1/

Python 2


pip install ZabbixQywechat

Python 3


pip3 install ZabbixQywechat

Demo test

vim test.py


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)

python test.py WechatAccount title 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.1.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distributions

ZabbixQywechat-1.1.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

ZabbixQywechat-1.1.1-py2-none-any.whl (3.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page