cabot-alert-dingding-0.2.2
توضیحات
A Dingding plugin for Cabot
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cabot-alert-dingding-0.2.2 |
| نام | cabot-alert-dingding |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hanya |
| ایمیل نویسنده | 464975798@qq.com |
| آدرس صفحه اصلی | https://github.com/hanya070603 |
| آدرس اینترنتی | https://pypi.org/project/cabot-alert-dingding/ |
| مجوز | - |
==========================
Cabot Dingding Alert Plugin
==========================
A plugin for `Cabot`_ service monitoring that will post alerts to a URL.
The plugin will POST a payload like the following to a user-defined endpoint::
payload = {
"msgtype": "text",
"text": {
"content": message
},
"at": {
"atMobiles": [
service.name
],
"isAtAll": True
}
}
Installation
============
Install from pip::
$ pip install cabot-alert-dingding
Edit `conf/*.env`::
# add cabot_alert_dingding to your comma separated list
CABOT_PLUGINS_ENABLED=cabot_alert_dingding
Run migrations and restart cabot::
$ cabot migrate
.. _Cabot: https://cabotapp.com
نحوه نصب
نصب پکیج whl cabot-alert-dingding-0.2.2:
pip install cabot-alert-dingding-0.2.2.whl
نصب پکیج tar.gz cabot-alert-dingding-0.2.2:
pip install cabot-alert-dingding-0.2.2.tar.gz