Skip to content

wiseNhammer/watchmen-plugin-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watchmen-plugin-slack

A plugin for watchmen to send Slack notifications on service events via node-slack.

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:'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published