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
Release files for ZabbixQywechat 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ZabbixQywechat-1.1.1.tar.gz | 2.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ZabbixQywechat-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
| ZabbixQywechat-1.1.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 9.2 kB
Release files / ZabbixQywechat-1.1.1.tar.gz
| Download URL | ZabbixQywechat-1.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05be0ffdade7ad2d8e88ddd0959e47ece9be70ae66a1ee091097a7b578d22f02
|
|
BLAKE2b-256 checksum How to use checksums |
b8a087e392d7ff7a2f3682bfa8365781322d1a460f6974764d92e76bc5145c74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / ZabbixQywechat-1.1.1-py3-none-any.whl
| Download URL | ZabbixQywechat-1.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
722ec797ba40f3cdcf903e8f91d088c5c56b3c9bae15818dcb449af146d23aa2
|
|
BLAKE2b-256 checksum How to use checksums |
a87051feadd4a36bf62c06d9a66445e10e2e6b8f1a254b198ea9aec2707ac13c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / ZabbixQywechat-1.1.1-py2-none-any.whl
| Download URL | ZabbixQywechat-1.1.1-py2-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
66071a344671679e1f01ba5797dc84fbde822063d4349b86215ff46be131fecc
|
|
BLAKE2b-256 checksum How to use checksums |
ea9db6c078de26c997890d732ae0292e6c3baea3245bab5e76b9f0bf6bdfa59f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|