A RocketChat alert plugin for Cabot
Project description
Based on Cabot Hipechat Plugin (https://github.com/cabotapp/cabot-alert-hipchat).
This is an alert plugin for the cabot service monitoring tool. It allows you to alert users in a RocketChat channel.
Installation
pip
pip install cabot-alert-rocketchat
Dev environment
TODO
Configuration
The plugin use Rocketchat webhooks (https://rocket.chat/docs/administrator-guides/integrations/)
Enable rocketchat plugin on cabot:
# Plugins to be loaded at launch CABOT_PLUGINS_ENABLED=...,cabot_alert_rocketchat
Configuration available:
Common:
# Channel used to publish messages ROCKETCHAT_CHANNEL=#support # Webhook URL with token ROCKETCHAT_WEBHOOK_URL=http://rocketchat.example.org/hooks/TOKEN # Username for messages. This username does not need to # exist on your Rocketchat, this is an alias. ROCKETCHAT_USERNAME=Cabot
Message format:
# Collapse Service part ROCKETCHAT_COLLAPSED_SERVICE=False # Collapse Checks part ROCKETCHAT_COLLAPSED_CHECKS=False # Collapse Alert part ROCKETCHAT_COLLAPSED_ALERT=False
Example
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
Built Distribution
File details
Details for the file cabot-alert-rocketchat-0.1.2.tar.gz
.
File metadata
- Download URL: cabot-alert-rocketchat-0.1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70064d26a8da3ecc55029d4185ca60e6f2cfe6cff73312f53f4a3f0aa940b601 |
|
MD5 | 9ce571a8cc03ab82ac6889b6fbc066a7 |
|
BLAKE2b-256 | 5027e92561bd912c7e08a946cddc4de81a07c67a300dbdd6854ecbee1c8413e8 |
File details
Details for the file cabot_alert_rocketchat-0.1.2-py2-none-any.whl
.
File metadata
- Download URL: cabot_alert_rocketchat-0.1.2-py2-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f10ae044d72c8116f55535ffd69fba3042c891828bc9d8d3581be08b01e4aad |
|
MD5 | ffc205814e75e7da32106b9c8608d808 |
|
BLAKE2b-256 | 2cbe0cd8d3d9c563cb53f421f9f9fde44b4d523a6559e351ab434cb30c354a33 |