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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b5f5b809fad26d749706f3666bbc72d6d5c6f66313c879f92018f15d09d3c5 |
|
MD5 | e1c6b7859fa21a0537e64f069f01ede4 |
|
BLAKE2b-256 | 104ff742d5e2b96c172531445e7c593a7974aa5393e85e0ef9d5148532206cb4 |