Skip to main content

A RocketChat alert plugin for Cabot

Project description

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

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

cabot-alert-rocketchat-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

cabot_alert_rocketchat-0.1.2-py2-none-any.whl (5.7 kB view details)

Uploaded Python 2

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

Hashes for cabot-alert-rocketchat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 70064d26a8da3ecc55029d4185ca60e6f2cfe6cff73312f53f4a3f0aa940b601
MD5 9ce571a8cc03ab82ac6889b6fbc066a7
BLAKE2b-256 5027e92561bd912c7e08a946cddc4de81a07c67a300dbdd6854ecbee1c8413e8

See more details on using hashes here.

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

Hashes for cabot_alert_rocketchat-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 7f10ae044d72c8116f55535ffd69fba3042c891828bc9d8d3581be08b01e4aad
MD5 ffc205814e75e7da32106b9c8608d808
BLAKE2b-256 2cbe0cd8d3d9c563cb53f421f9f9fde44b4d523a6559e351ab434cb30c354a33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page