A Dingding plugin for Cabot
Project description
========================== 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for cabot-alert-dingding-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb5ec20029442daf0ce86b6957626729403ba7a0596275d4367e85dea797b16 |
|
MD5 | c8565e99746b46b6e65c0b70f28c53e6 |
|
BLAKE2b-256 | 002471398ad251332c0d575f824a3561ece643a4a44ddebb0caea81ba893d6d4 |