Name | zbx-wxwork-assistant JSON |
Version |
1.1.4
JSON |
| download |
home_page | None |
Summary | A simple package for zabbix-wxwork assistant tool. |
upload_time | 2024-04-24 01:37:44 |
maintainer | None |
docs_url | None |
author | gary |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
zbx-wxwork-assistant
====================
前言
----
- 此模块主要用来在企业微信应用中展示 ``Zabbix`` 相关的信息,比如 **告警**、**主机信息** 等
- 企业微信本身和 ``Zabbix`` **并无直接关联**,但是在 ``Zabbix`` 的用户媒介中可以配置企业微信的告警媒介,告警媒介的 ``sendto`` 字段中可以包含企业微信用户的 ``id`` 因而两者可以产生关联
- 此模块需要传入 ``Zabbix`` 登录用户相关的信息,包括用户名、``Token`` 和服务器地址,为安全起见,不支持传入密码,且信息的读取全部通过环境变量
环境变量
---------
- **WXZBXASSISTANT_ZABBIX_URL**,``Zabbix`` **服务器地址**
- **WXZBXASSISTANT_ZABBIX_USERNAME**,``Zabbix`` **服务器登录用户**
- **WXZBXASSISTANT_ZABBIX_API_TOKEN**,``Zabbix`` **服务器登录用户 API Token**
- **WXZBXASSISTANT_ZABBIX_API_TIMEOUT**,``Zabbix`` **服务器访问超时时间**。默认值为 ``60``
- **WXZBXASSISTANT_ZABBIX_SEVERITIES**,``Zabbix`` **告警级别列表**。默认值为 ``"[0, 1, 2, 3, 4, 5]"``
Raw data
{
"_id": null,
"home_page": null,
"name": "zbx-wxwork-assistant",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "gary",
"author_email": "mepmb@sina.com",
"download_url": null,
"platform": null,
"description": "zbx-wxwork-assistant\n====================\n\n\u524d\u8a00\n----\n\n- \u6b64\u6a21\u5757\u4e3b\u8981\u7528\u6765\u5728\u4f01\u4e1a\u5fae\u4fe1\u5e94\u7528\u4e2d\u5c55\u793a ``Zabbix`` \u76f8\u5173\u7684\u4fe1\u606f\uff0c\u6bd4\u5982 **\u544a\u8b66**\u3001**\u4e3b\u673a\u4fe1\u606f** \u7b49\n- \u4f01\u4e1a\u5fae\u4fe1\u672c\u8eab\u548c ``Zabbix`` **\u5e76\u65e0\u76f4\u63a5\u5173\u8054**\uff0c\u4f46\u662f\u5728 ``Zabbix`` \u7684\u7528\u6237\u5a92\u4ecb\u4e2d\u53ef\u4ee5\u914d\u7f6e\u4f01\u4e1a\u5fae\u4fe1\u7684\u544a\u8b66\u5a92\u4ecb\uff0c\u544a\u8b66\u5a92\u4ecb\u7684 ``sendto`` \u5b57\u6bb5\u4e2d\u53ef\u4ee5\u5305\u542b\u4f01\u4e1a\u5fae\u4fe1\u7528\u6237\u7684 ``id`` \u56e0\u800c\u4e24\u8005\u53ef\u4ee5\u4ea7\u751f\u5173\u8054\n- \u6b64\u6a21\u5757\u9700\u8981\u4f20\u5165 ``Zabbix`` \u767b\u5f55\u7528\u6237\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u7528\u6237\u540d\u3001``Token`` \u548c\u670d\u52a1\u5668\u5730\u5740\uff0c\u4e3a\u5b89\u5168\u8d77\u89c1\uff0c\u4e0d\u652f\u6301\u4f20\u5165\u5bc6\u7801\uff0c\u4e14\u4fe1\u606f\u7684\u8bfb\u53d6\u5168\u90e8\u901a\u8fc7\u73af\u5883\u53d8\u91cf\n\n\u73af\u5883\u53d8\u91cf\n---------\n\n- **WXZBXASSISTANT_ZABBIX_URL**\uff0c``Zabbix`` **\u670d\u52a1\u5668\u5730\u5740**\n- **WXZBXASSISTANT_ZABBIX_USERNAME**\uff0c``Zabbix`` **\u670d\u52a1\u5668\u767b\u5f55\u7528\u6237**\n- **WXZBXASSISTANT_ZABBIX_API_TOKEN**\uff0c``Zabbix`` **\u670d\u52a1\u5668\u767b\u5f55\u7528\u6237 API Token**\n- **WXZBXASSISTANT_ZABBIX_API_TIMEOUT**\uff0c``Zabbix`` **\u670d\u52a1\u5668\u8bbf\u95ee\u8d85\u65f6\u65f6\u95f4**\u3002\u9ed8\u8ba4\u503c\u4e3a ``60``\n- **WXZBXASSISTANT_ZABBIX_SEVERITIES**\uff0c``Zabbix`` **\u544a\u8b66\u7ea7\u522b\u5217\u8868**\u3002\u9ed8\u8ba4\u503c\u4e3a ``\"[0, 1, 2, 3, 4, 5]\"``\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple package for zabbix-wxwork assistant tool.",
"version": "1.1.4",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f2bee5f75ff8546647a0b699fd5529c1a270a55dde320e36eed1bbf5a5598dc4",
"md5": "a766f8204adbdb6ffec30f84b1de1245",
"sha256": "9f0393ef7c937884a759a6838359d089e4fd47df6e5764dc451caff341935ad0"
},
"downloads": -1,
"filename": "zbx_wxwork_assistant-1.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a766f8204adbdb6ffec30f84b1de1245",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8879,
"upload_time": "2024-04-24T01:37:44",
"upload_time_iso_8601": "2024-04-24T01:37:44.571482Z",
"url": "https://files.pythonhosted.org/packages/f2/be/e5f75ff8546647a0b699fd5529c1a270a55dde320e36eed1bbf5a5598dc4/zbx_wxwork_assistant-1.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-24 01:37:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "zbx-wxwork-assistant"
}