Slack is a popular chat service used to speed up real-time communication within a development team or company setting.
Using Slack notifications, you can have alert notifications from your Mackerel organization sent directly to any Slack channel or private group you designate where they will appear in the channel or group's feed.
When a notification appears in Slack, a link to the alert page and links to the services and roles pertaining to the host that triggered the alert as well as an image of the graph showing the alert will be displayed.
Adding Slack to your notification channels
To add a new Slack notification channel, click on “Monitors,” then “Channel Settings,” then “New Channel”. Choose Slack from the list of integrations and give the new notification channel a name. (e.g. "slack (#dev-team)")
Incoming Webhooks, one of Slack's APIs, are used to send notifications to the Slack channel.
For the URL, enter the Incoming Webhook URL you can obtain by referring to the following article.
In the “Mentions” drop down menu, you can decide what types of alerts you would like to be notified of and who can see notifications.
- Click “Create” to complete set-up. To test the new notification channel, go back to the “Channels” page and click the “Test” button next to the Slack channel. If everything was configured correctly, you should receive a notification in Slack instantly.
If you have any questions please contact our support team at firstname.lastname@example.org