Network Management
How to create an alert to post to a Slack channel with SolarWinds Platform
This article provides step-by-step instructions how to create an alert to post to a Slack channel with SolarWinds Platform.
First published date
Last published date
Product section
Resolution
Step 1: Configure incoming webhooks for each Slack Channel
Before configuring the alert in SolarWinds Platform, you can follow the Slack instructions to configure incoming webhooks for the corresponding channels.
Keep a record of Webhook URL.
Step 2: Configure alert utilizing the action of Send a GET or POST Request to a Web Server.
- Login to SolarWinds Platform
- Navigate to Alerts & Activity > Alerts
- Navigate to the alert to configure. If you want to create a new alert, click Manage Alerts > Add New Alerts.
- Provide a friendly name of the alert defintion and configure alert properties
- Navigate to Trigger Actions
- Click Add Action
- From the list, select the radio button for Send a GET or POST Request to a Web Server
- Click Configure Action
- Provide a friendly name of the action
- In the URL field, enter the incoming webhook url (i.e. https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXX)
- Select the radio button for Use HTTP/S POST
- In the Body to POST, enter the message to post to the Slack channel. In this example, the POST will be plain text.
- In the ContentType field, enter
application/json - In the Authentication field, select None.
- Click Add Action
For more advanced messaging format within Slack, please refer the following Slack documentation.