Skip to content
This repository has been archived by the owner. It is now read-only.
A plugin for watchmen to send Slack notifications on service events
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.eslintrc
.gitignore
.npmignore
README.MD
index.js
npm-shrinkwrap.json
package.json

README.MD

watchmen-plugin-slack

A plugin for watchmen to send Slack notifications on service.

Slack Incoming Webhook

https://api.slack.com/incoming-webhooks

Grab your URL from here:

https://my.slack.com/services/new/incoming-webhook/

Make sure your channel matches configuration for this plugin.

Environment variables

WATCHMEN_SLACK_NOTIFICATION_EVENTS and WATCHMEN_SLACK_NOTIFICATION_URL are required. WATCHMEN_SLACK_NOTIFICATION_EVENTS should be a space separated list of Watchmen events that will trigger Slack notifications.

The default Slack channel is #general.

The default icon emoji is 📣 :mega

The default username is Watchmen

WATCHMEN_SLACK_NOTIFICATION_EVENTS='service-back,latency-warning,new-outage'
WATCHMEN_SLACK_NOTIFICATION_URL='GET INCOMING WEBOOK URL FROM SLACK'
WATCHMEN_SLACK_NOTIFICATION_CHANNEL='#notifications'
WATCHMEN_SLACK_NOTIFICATION_USERNAME='Wise'
WATCHMEN_SLACK_NOTIFICATION_ICON_EMOJI=':doge2:'
You can’t perform that action at this time.