Home > VMware > Slack Integration

Slack Integration


Slack is a popular communication platform. Wavefront and Slack both support webhooks so you can easily configure an incoming webhook in Slack and an outgoing webhook in Wavefront to pass the notifications from Wavefront alerts into your Slack channels



Slack Setup

Step 1. Build a Custom Integration for Your Slack Channel

  1. In Slack, click the team dropdown menu in the top left hand of the Slack application and select the Customize Slack link:images/customize_slack.png

    The Customize Your Team page opens in your browser.

  2. Click the Configure Apps link under the menu list:images/configure_apps.png

  3. On the App Directory page, click the Custom Integrations and then Incoming WebHooks links:images/incoming_webhooks.png

  4. Click the Add Configuration button.
  5. In the Post to Channel dropdown list, select the Slack channel where your incoming webhook will post messages to and click the Add Incoming WebHooks integration button:images/webhook_testing.png

  6. Customize the incoming webhook.images/customize_incoming_webhook.png

    In the Custom Name field, type the name that will appear in your Slack channel as a sender of the message. You can also add additional details such as description, icon, etc. Refer to Incoming Webhooks for detailed instructions.

  7. Click the Copy URL link.
  8. Click Save Settings.

Step 2. Create a Slack Alert Target

  1. In Wavefront, create an alert target.
  2. Give the alert target a meaningful name.
  3. In the Triggers field, select the alert state changes that should trigger the notification. See Creating an Alert Target.
  4. Make sure the Type is Webhook.
  5. Paste the application’s notification URL into the URL field.

  6. In the content type field, select application/json.
  7. Select Alert Target POST Body Template > TEMPLATE > Slack.
  8. Customize the template.
  9. Click Save. The alert target is added to the Alert Targets page.
  10. In the Name column, note the ID of the alert target under the alert target description.

Step 3. Add the Slack Alert Target to an Alert

  1. In Wavefront, open the Alerts browser.
  2. If you have an alert, locate the alert and click the alert name to open the Edit Alert screen. Otherwise, create an alert. For help, see Creating an Alert.
  3. Scroll down to the Target List field.

  4. Enter the alert target ID into the Alert Target field.
  5. Select the alert target from the dropdown list to add the list of targets.
  6. Click Save.
Last modified


This page has no custom tags.


(not set)
(not set)