调用企业微信API接口实现微信报警.
#Usage:
```
Install:
pip install zabbix-weixin-alert
pip show zabbix-weixin-alert
```
[root@zabbix ~]# pip show zabbix-weixin-alert
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: zabbix-weixin-alert
Version: 2019.2.27.1
Summary: zabbix qiye weixin alert
Home-page: https://github.com/talenhao/zabbix-weixin-alert
Author: Tianfei Hao
Author-email: talenhao@gmail.com
License: BSD License
Location: /usr/lib/python2.7/site-packages
Requires: requests
Required-by:
```
In location path,copy /usr/lib/python2.7/site-packages/wxapi/zabbix-wx-alert.pyc to you zabbix-server alertscriptpath.
```
[root@zabbix ~ ]# cp /usr/lib/python2.7/site-packages/wxapi/zabbix-wx-alert.pyc /usr/lib/zabbix/alertscripts/ && chmod +x /usr/lib/zabbix/alertscripts/zabbix-wx-alert.pyc
```
Add zabbix media with 6 Script parameters
{ALERT.SENDTO}
{ALERT.SUBJECT}
{ALERT.MESSAGE}
ww2489f02c7dxxxxxx # corpid
et9Tkdp3ZkXAKpoxTdam6JRMgu2DRePLWmqB3xxxxxx # corp_secret
1000002 # agentid
add new media to users.
Metadata
Release files for zabbix-weixin-alert 2019.2.27.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zabbix_weixin_alert-2019.2.27.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for zabbix_weixin_alert-2019.2.27.5-py2.py3-none-any.whl |
Release files / zabbix_weixin_alert-2019.2.27.5-py2.py3-none-any.whl
| Download URL | zabbix_weixin_alert-2019.2.27.5-py2.py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e83915044ad06e9fd03c8c854e786a7a4c8c6475c08c75c340545d8ecfbfae8e
|
|
BLAKE2b-256 checksum How to use checksums |
90d26f8633cea668d92695f1da30fef8aaebae4046c9a27344285a3e86134589
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Security for zabbix-weixin-alert 2019.2.27.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.