This is in continuation of my previous Article Monitoring of SAP Systems Using Azure Monitors – Part III
7. ALERTS
We can also setup alerts on the data that is being stored in the Log Analytics, we can design the alert as per our thresholds and requirements
7.1 Create Action Group
For sending any notification we first need to create action group in azure Monitor, to do so we need to go to Monitor → Alerts → Manage Actions and then click on New Action Group
Fill out all the requested details and then click on Next: Notifications
Fill out all important details such as Name, Notification type, email id etc.… and then click on Next: Action
Fill the details about the Actions if any and then click on Next: Tags
Specify the Tags if any and then click on Next: Review + Create
Review all the settings of the Action Group and click on Create
Wait for the deployment to finish
7.2 Setting Up Notification
For settings up alert, we first go to Azure Monitor → Alert and click on New Alert Rule
Select the resource to Log Analytics Workspace in which the telemetry data is getting stored
We also need to specify the Condition by clicking Add Condition and then click on Custom log search
Specify the query which needs to be executed for triggering alert, here we are only using the query to check if system is up and running fine.
Specify the condition after which email will be triggered and click Done
Condition will be added to the Alert
Now add action group to which email will be triggered
Specify the other requested details and click on Create
Wait for the Rules to create which we can see in the Alert Rules
So, Once Log Analytics receive GRAY from the sapcontrol as below
Alert will catch this anomaly and display it on Alert Dashboard
Further details about Alert can be checked by clicking on this.
Below is the sample email sent with details about the alert
8. LOGS
8.1 Log Analytics Workspace
We can see and check the telemetry data which is been extracted by the providers
8.2 Azure Monitor Activity Log
We can also check the deployment logs about the providers in the Activity log of Azure Monitor
8.3 Extraction Log
We also see the extraction log of each call to system in the queue of Storage account.
Now SAP System installed on Azure is getting monitored using Azure Monitors for SAP Solutions.
BEST OF LUCK!!
9. CONCLUSION:
In this 4 parts of article, we have discussed how we can Deploy, Configure, Workbooks, Alerts, Notifications and Troubleshooting logs for Azure Monitors for SAP Solutions.
THANK YOU..