In this article, we will take a detailed look at the end-to-end working scenario of configuring an alarm with Slack notification channel.
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 -
- Log in to the BizTalk360 application
- Click the 'Settings' icon found at the top right corner of the page
- Click 'Monitoring and Notification' from the Menu panel on the left side of the screen
- Click Manage Notification Channels
- Select the checkbox against the Slack Channel name (B360.Notifier.SlackNotification)
- Click Configure
- Gateway URL - This field is pre-filled with the Gateway URL
- Access Token - Enter the access token
- Click the Configure button to save the Slack configuration settings
- Once you click configure, the Is Configured field changes from No to Yes
- Click the Home button to navigate from Settings screen to the main BizTalk360 Operations screen
- Click Monitoring below the environment selection pane
- Select Manage Alarms
- Click New Alarm
- Select For Threshold Monitoring to create a threshold monitoring alarm
- Enter a descriptive name for the Alarm (Slack Notifications), Email id (email@example.com), and Alarm Description
- Click Next. Make the necessary settings for Threshold violation.
- 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.
- Enter the username that you use to log in to Slack (say, scottacme), and the channel name (#Acme)
- Click OK to create the alarm
- Map the alarm with any Application artifacts and the BizTalk Server environment (as defined previously in the scenario explanation)
- 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.