A Webhook plugin for Cabot
Project description
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:
{ 'service': 'my_service_name', 'status': 'ERROR', 'old_status': 'PASSING', }
Installation
Install from pip:
$ pip install cabot-alert-webhook $ foreman stop
Edit conf/*.env:
# add cabot_alert_webhook to your comma separated list CABOT_PLUGINS_ENABLED=cabot_alert_webhook
Run migrations and restart cabot:
$ foreman run python manage.py migrate $ foreman start
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cabot-alert-webhook-0.1.0.tar.gz
.
File metadata
- Download URL: cabot-alert-webhook-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79695ec2acb14d9df82682eb9772bd915f23f960679592996163f553fc5b14dd |
|
MD5 | 026ec3a42db18ca5d73d996ca163dccd |
|
BLAKE2b-256 | 623b3cf610496f35e581b177738dd419ea6815dff47359f55c3dbe755881243d |