One of the key characteristics of BizTalk360 is the ability to offer monitoring and notification of BizTalk server environments. BizTalk360 has out-of-the-box monitoring mechanism that can help administrators to monitor the key aspects of BizTalk server such as receive locations, send ports, orchestrations, disk space, event logs, and so on. Setting up monitoring and notification in BizTalk360 is a simple process. As a getting started guide, let's take a look at a simple scenario. "ACME corporation wanted to monitor all receive locations and send ports in the BizTalk application 'BizTalk EDI Application'"
Setting up monitoring and notification in BizTalk360 for this scenario is a two step process
- Create an alarm and specify the threshold levels at which the alert should be triggered. You also need to specify the notification channels through which you would prefer to receive the notifications
- Associate artifacts in the "BizTalk EDI Application" application to the alarm to set up monitoring on all of the receive locations, Orchestrations and send ports.
Click the sliders to view the alarm creation process.
1. Creating An Alarm
To create an alarm in BizTalk360, you need to follow the steps as shown below:
- Log in to the BizTalk360 application
- Click 'Monitoring' tab in the Navigation panel on the left side of the screen
- Click 'Manage Alarms'
- Click 'New Alarm'. Enter the Alarm name (ex: ACME EDI Application Monitor), enter a valid Email id (you can enter multiple email ids as comma separated values), and Alarm Description. In case, you don't want alerts during your maintenance schedule, toggle on the 'Disable alarm for maintenance' button, you will not receive the alerts to the specified notification channels.
- Click Next to move to next screen to set up alert on threshold violations
- Select the 'Alert on threshold violation' check box and set persist duration to 2 minutes. Click OK.
2. Associate Artifacts To Alarm
Once you have created an alarm, you can associate the application artifacts (orchestrations, send ports, receive locations and service instances) with the alarm. Once you associate the artifacts with the alarm and set the threshold values, BizTalk360 will start monitoring the status of the artifact based on the threshold condition. If there is any threshold violation, you will receive the alert notification after the persist duration is elapsed (we set 2 minutes in this example when we created the alarm).
To set up monitoring on the receive locations, you must navigate to 'Applications' under 'Monitoring & Notification', select the application ('BizTalk EDI Application' in this example case) that you wish to monitor, and click on 'Receive Locations' tab. You can set up monitoring of receive location at any particular state. For instance, if you want the expected state of the receive port 'Receive.File.Purhcase.Order' to be 'Enabled', BizTalk360 will monitor the status of 'Receive.File.Purhcase.Order'. Whenever the status turns to Disabled, BizTalk360 will immediately notify through an alert. You can repeat the same process for send ports and orchestrations.
Once the above 2 steps are done, you can test it by navigating to BizTalk EDI Application either through BizTalk360 or via BizTalk Administration console and disable the receive location, unenlist a send port etc and see the monitoring and notification in action.
In the above sample, we just wanted to show you a very quick example. For email notification to work correctly you need to configure SMTP settings as explained here Setting SMTP. You may also wanted to take a look at some of the related topics like Monitoring Receive Locations,Configuring email template, Stop alerts during maintenance to get more details about BizTalk360 monitoring capabilities.