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
Built Distribution
File details
Details for the file cabot-alert-webhooks-0.1.0.tar.gz
.
File metadata
- Download URL: cabot-alert-webhooks-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7719d1305d887c8cc0bfcefe25c976a8c1813a7e1e5c4a40b9b474fc5be61abd |
|
MD5 | 9bd7cfa8ea6b1be375da9bef8d80f6ea |
|
BLAKE2b-256 | 4eb7d3953b02097eb030c68bcfab13bfce8a7cbcb47209d18389412c6e195c47 |
File details
Details for the file cabot_alert_webhooks-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: cabot_alert_webhooks-0.1.0-py2-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdd4e429d19cd38b2639c3ad6501933ddbdd1f954f63ac0094ad45314ad29347 |
|
MD5 | 9603b9258cf3017df96da0689ed1057b |
|
BLAKE2b-256 | 319b16169d5234052d4f73aa2893119c8c08ef3f75eca3821700c5af1e2e70b2 |