Setting up Alerts for Logic Apps
You can execute the following steps to set up an alert for Azure Logic Apps:
- Log in to the BizTalk360 application
- Click 'Monitoring' in the navigation panel
- Click the expand button against 'Manage Mapping' tab and select the 'Azure Services' link
- Select the Alarm name (Creating an alarm) from the drop down for which you would like to associate the alerts
- Choose the Azure subscription from the drop down
- Select the Logic Apps tab. This will list the Logic Apps that are created under the selected subscription.
- Select the check box against the Logic App(s) you want to have monitoring on.
- From the Expected State drop-down, choose the expected state of the Logic App in order to set up monitoring. Let's say, we expect the Logic App to be Enabled at all time.
- Setting the expected state will automatically start monitoring the Logic App. BizTalk360 monitoring service will automatically compare the current state of the Logic App with the expected state and display the status (as Healthy or Error). If the expected state matches with the current state, you will notice the status of the Logic App as Healthy (in green color). If there is a state mismatch, the status of the Logic App will be displayed as Error (in red color).
- To auto correct the state of the Logic App, select the check box against the Logic App and click the AutoCorrect box. Select Enable from the drop-down. If at any time the current status of the Logic App becomes Disabled (opposite of the expected status), the auto correct logic will start functioning and the BizTalk360 monitoring service will try to automatically enable the Logic App (based on the number of retries defined in the Max Retry section).
- The Last Run section will display the last time when the Logic App actually executed
- In order to receive email notifications from BizTalk360 on the threshold violation alerts (and auto correction alerts), you need to configure the SMTP settings under BizTalk360 Settings. Follow the steps in this article to be able to configure the SMTP settings in BizTalk360. You will receive an email notification with the exact details of the status of the Logic App with the auto correction details (as shown in the email below)
- The monitoring dashboard will reflect the health of the Azure services as shown in the image below.