Sending alert notifications to Slack

Applies to NAM 2018

We use the Incoming Webhooks feature to send the alert notifications to Slack. In short, to configure the Slack integration, you need to add an Incoming Webhooks app to your Slack instance and authorize NAM to send messages to a Slack channel using a Webhook URL.

Before you begin

  • Learn about Incoming Webhooks Slack feature.
  • Think of a right Slack channel for your alert notifications.
  • Make sure you don't flood your Slack with alert notifications. Configure reasonable propagation settings for the alerts you want to post to Slack.

How do I configure the Slack integration?

  1. Sign-in to your Slack instance as an admin to add a new Webhook for NAM. If you don't have admin rights, ask your Slack admin to create a new Webhook for NAM, tell him or her which channel to post NAM alerts to and request to send you back the generated Webhook URL. Or just show him or her this page. For details on adding Webhooks to your Slack, see Incoming Webhooks over at the Slack doc.
  2. Copy the Webhook URL from your Slack app settings page. Webhook URL authorizes NAM to post messages to Slack. It should look like this: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
  3. Sign in to NAM Server and go to General properies editor in the Administration console.
  4. Search for slack to find the URL_2_SLACK_CHANNEL_PUBLISHING_ALERTS property. If you can't find it, add it with the Add new button and paste the Webhook URL to the Value field. Save your changes. Now your NAM Server is all set up to post alert notifications to Slack.

Webhook URL

What to do next?

You can select which alerts should post notifications to Slack. In your alert configuration wizard, go to the Notifications step and select Enable Slack notifications in the Slack tab.

Enable Slack notifications