Slack
Using a Slack Webhook, you can configure EM to send events or incidents data directly into a Slack channel.
How to set up Slack Notifications - YouTube Video
Add a Slack notification method
-
Get the Slack channel’s incoming Webhook URL.
Note:
You must be the workspace owner to get the incoming webhook URL. - Click Add Notification Method in the Webhooks and Slack page.
- Select from the drop-down list to what you want the notification method to apply (Incidents or Events), and click Slack:
- Incidents
- Events
- Incidents
- Enter a name and description for your notification method.
-
Enter the Slack channel’s incoming Webhook URL, and optionally other connection details.
Note:
Make sure the Slack channel’s incoming Webhook URL is in the
https://hooks.slack.com/services/...
format. - Optionally, modify the Slack Payload. You can see the available payload variables by opening the Payload variable list on the right.
- Click Create.
Test a Slack notification method
-
From the Webhooks and Slack Page, select the icon under the Actions menu for the notification method you want to test, and select Test Notification Method.
-
Check the name of the notification method is correct in the Test Notification Method dialog box and select Test.
- Check the status of the test is Succeeded, and navigate to the Slack channel used to see the sample test incident notification.
Assign a Slack notification method to an incident rule
-
From the Setup menu, navigate to Incidents, and select Incidents Rules.
-
Create a rule set or select an existing rule set, and select Edit.
- In the Rules section, select a rule and select Edit.
-
Review and edit as needed the incidents to which the rules apply, and select Next.
-
Select an action and select Edit.
-
From the Send Notification section, navigate to Advance Notifications, and select the Slack notification method to be assigned. Select Continue.
-
Select Next.
-
Provide a Name and a Description for the rule set, and select Next.
- Review the rule set, edit as needed, and select Continue.
-
Select Save.