In this article, we will take a detailed look at the end-to-end working scenario of configuring an alarm with Slack notification channel. 


Scenario:

Scott is the administrator user at ACME Corporation and would like to set up alerts on his BizTalk Server environment and applications to get notified when there is a problem in the environment. At ACME, they use Slack as the channel for internal communications. Therefore, Scott would prefer to receive the notifications from BizTalk360 into a custom channel (#Acme) on their Slack. The advantage with BizTalk360 is that Slack is one of the pre-defined notification channel that is available with BizTalk360 v8.0. All that Scott needs to do is to configure the Slack Notification Channel and set up the notification channel with one of the Alarms in the environment in order for BizTalk360 to be able to trigger notifications into the #Acme channel. To do this, Scott must perform the following steps -

  1. Log in to the BizTalk360 application
  2. Click the 'Settings' icon found at the top right corner of the page
  3. Click 'Monitoring and Notification' from the Menu panel on the left side of the screen
  4. Click Manage Notification Channels
  5. Select the checkbox against the Slack Channel name (B360.Notifier.SlackNotification)
  6. Click Configure
    • Gateway URL - This field is pre-filled with the Gateway URL
    • Access Token - Enter the access token
  7. Click the Configure button to save the ServiceNow configuration settings
  8. Once you click configure, the Is Configured field changes from No to Yes
  9. Click the Home button to navigate from Settings screen to the main BizTalk360 Operations screen
  10. Click Monitoring below the environment selection pane
  11. Select Manage Alarms
  12. Click New Alarm
  13. Select For Threshold Monitoring to create a threshold monitoring alarm
  14. Enter a descriptive name for the Alarm (Slack Notifications), Email id (scott@acme.com), and Alarm Description
  15. Click Next. Make the necessary settings for Threshold violation.
  16. In the Notification Channel(s) section on the Advanced (Notifications) screen, you will notice Slack is listed with a toggle icon. Toggle the icon to enable the Slack Notifications.
  17. Enter the username that you use to log in to Slack (say, scottacme), and the channel name (#Acme)
  18. Click OK to create the alarm
  19. Map the alarm with any Application artifacts and the BizTalk Server environment (as defined previously in the scenario explanation)
  20. Once the mapping is done, whenever there is any threshold violation in the environment, Scott will receive the alert notifications on the Slack #Acme channel. He need not log in to BizTalk360 to view the status of the environment at any point of time.


Click the sliders to go through the process.