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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd4e3af9e7379717eccba828a2d7c9841a1a9b8e3df99e5eb129df7bdbe8f8f5 |
|
MD5 | 30af5a769de618bd812ef39b87a44a9a |
|
BLAKE2b-256 | 53db680266757cf8234aaa14a679545b0316fbac976900e929d8bdf51848ace9 |