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.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cdb723367f8e0f44b27962c77a5ee75436ceb3fe8231c6d042d5206b8eceb95 |
|
MD5 | e7a78c3f9bef8ccde8fa786ff0f9e22f |
|
BLAKE2b-256 | e556a1ae86b49be9147007d34b2099d6cf446e597b1ce16df4c6ed51c2f819ba |