The ThousandEyes platform integrates with the popular messaging application Slack. When an alert is raised, a notification can be sent to a Slack channel automatically.
In order to integrate ThousandEyes alerts into Slack, you need to generate a webhook URL for your Slack channel as follows:
- 1.Sign into <your-domain>.slack.com.
- 2.Click the option to add an Incoming Webhooks integration: https://my.slack.com/services/new/incoming-webhook/.
- 3.Choose a channel where you want alert notifications to be posted.
- 4.Get the webhook URL from the integration settings.
From ThousandEyes, under Alerts > Alert Rules, expand the alert rule you wish to integrate into Slack, then click the Notifications tab. Click Configure Integrations > Add New Integration. If you already have one or more integration services configured, click Edit Integrations > Add New Integration. A popup window will open with the following fields:
Choose your integration type.
Enter a name for your integration.
Enter the channel Webhook URL \(see step 4 above\).
Enter the channel name.
Add New Integration
Once all fields are finalized, click to add the new integration.
If you need more customization than this native Slack integration supports, follow the instructions to set up a Custom Webhook instead.
Now, when an alert is triggered, the alert details will be posted as a message within the designated channel, as shown below. If you click the alert message link, the ThousandEyes Views screen opens, at the alert start time.
When your alert rule conditions are no longer met by your test (or the alert rule is updated such that the conditions no longer meet the criteria of the alert), the Alert cleared message is posted in your Slack channel. You can click the message link to open the ThousandEyes app at the Views screen for the alert cleared time.