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

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ZabbixQywechat-1.0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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