This plugin allows you to send alerts to Stashboard. It needs OAuth credentials
- Add cabot_alert_stashboard to the CABOT_PLUGINS_ENABLED list in <environment>.env
- Add
requests_oauthlib
to the install_requires section of the cabotsetup.py
- Add
STASHBOARD_TOKEN=<YOUR_OAUTH_TOKEN>
to <environment>.env - Add
STASHBOARD_SECRET=<YOUR_OAUTH_SECRET>
to <environment>.env - Add
STASHBOARD_URI=<YOUR_STASHBOARD_DOMAIN>
to <environment>.env - 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
- Deploy with fabric (
fab deploy -H ubuntu@example.com
) - Enable the plugin on whatever services you like