Skip to main content

Cabot RocketChat Plugin

https://travis-ci.org/ObjectifLibre/cabot-alert-rocketchat.svg?branch=master

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

docs/images/ex_messages.png

Metadata

Release files for cabot-alert-rocketchat 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cabot-alert-rocketchat 0.1.2
File Size Uploaded
cabot-alert-rocketchat-0.1.2.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cabot-alert-rocketchat 0.1.2
File Interpreter ABI Platform
cabot_alert_rocketchat-0.1.2-py2-none-any.whl Python 2 none any Details

Total release size: 10.3 kB

Release files / cabot-alert-rocketchat-0.1.2.tar.gz

Download URL cabot-alert-rocketchat-0.1.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
70064d26a8da3ecc55029d4185ca60e6f2cfe6cff73312f53f4a3f0aa940b601
BLAKE2b-256 checksum
How to use checksums
5027e92561bd912c7e08a946cddc4de81a07c67a300dbdd6854ecbee1c8413e8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cabot_alert_rocketchat-0.1.2-py2-none-any.whl

Download URL cabot_alert_rocketchat-0.1.2-py2-none-any.whl
Size 5.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
7f10ae044d72c8116f55535ffd69fba3042c891828bc9d8d3581be08b01e4aad
BLAKE2b-256 checksum
How to use checksums
2cbe0cd8d3d9c563cb53f421f9f9fde44b4d523a6559e351ab434cb30c354a33
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page