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_rocketchatConfiguration 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=CabotMessage format:
# Collapse Service part ROCKETCHAT_COLLAPSED_SERVICE=False # Collapse Checks part ROCKETCHAT_COLLAPSED_CHECKS=False # Collapse Alert part ROCKETCHAT_COLLAPSED_ALERT=False
Example
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-rocketchat-0.1.0.tar.gz.
File metadata
- Download URL: cabot-alert-rocketchat-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cb1202aca14ae847f395017fd90807106b564e31d9ce59da2404753732b018b
|
|
| MD5 |
d30143000a889ae0a497947d15509830
|
|
| BLAKE2b-256 |
10fc03d0bb889915dfd1385376dabc3f27f69a500c1511983db6638cf2477e4b
|