Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
22 lines (20 loc) · 840 Bytes

README.md

File metadata and controls

executable file
·
22 lines (20 loc) · 840 Bytes

Cabot Stashboard Plugin

This plugin allows you to send alerts to Stashboard. It needs OAuth credentials

Installation

  1. Add cabot_alert_stashboard to the CABOT_PLUGINS_ENABLED list in <environment>.env
  2. Add requests_oauthlib to the install_requires section of the cabot setup.py
  3. Add STASHBOARD_TOKEN=<YOUR_OAUTH_TOKEN> to <environment>.env
  4. Add STASHBOARD_SECRET=<YOUR_OAUTH_SECRET> to <environment>.env
  5. Add STASHBOARD_URI=<YOUR_STASHBOARD_DOMAIN> to <environment>.env
  6. Set status codes and whether to auto-create services:
    STASHBOARD_NORMAL=up
    STASHBOARD_WARNING=warning
    STASHBOARD_ERROR=down
    STASHBOARD_CRITICAL=down
    STASHBOARD_CREATE_SERVICES=True
  1. Deploy with fabric (fab deploy -H [email protected])
  2. Enable the plugin on whatever services you like