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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bffafc62152e36f7dcf91ca687a14bd088373d8e18f15d77cddd24e8c1a680f |
|
MD5 | 18b79686e5090c1e67ecd6f151c59d3b |
|
BLAKE2b-256 | b3233d61433c7731973e7710e5e0303358d11eb5d70a5a02ef72db48713a474c |