Connect Windows Server to Azure Monitor
As mentioned in blogs posts before, Windows Admin Center allows admins to extend their on-prem environments with hybrid Azure services. The latest addition is the integration of Azure Monitor in Windows Admin Center. This allows you to connect your Windows Server to Azure Monitor. Azure Monitor collects events and performance counters from Windows Server to run analytics and reporting in Azure and take action when a particular condition is detected. This can then be a notification (SMS, email, push notification) and/or a direct action using Azure Logic Apps, Azure Functions, Azure Automation Runbooks, webhooks or integration into ITSM tools.
Setup monitoring and alerts for Windows Server to Azure Monitor with Windows Admin Center
Setting up the Azure Monitor connection in Windows Admin Center is simple. Select the server you want to connect to Azure Monitor. Go to Settings and then Monitoring Alerts.
Here you will be able to configure the server with the right Azure subscription, resource group and log analytics workspace.
After the server is connected to the Azure Log Analytics workspace, the management of alerts rules is done in the Azure portal.
First, you will need to create a New alert rule.
You can choose a signal logic. In our case we want to monitor the free disk space on the server.
The alert logic can now be configured with the condition you want to trigger the action. In this example we choose to trigger the action if there is less than 10% diskspace available.
The last thing we need to do is to add and configure the action group. This can be a notification inform of a Email, SMS, Push notification or voice message or you can trigger a Azure Function, Logic App, Webhook or a Automation Runbook.
I hope this gives you a quick overview, how you can setup Azure Monitor in Windows Admin Center, and how you can setup alerts and actions using Azure Monitor.
Configure Azure Hybrid Services in Windows Admin Center Video Series
I have created a short video series which shows how to setup the Azure Hybrid services directly from Windows Admin Center. You can start with the intro here and then follow the different videos, and check out our overview blog about Configure Azure Hybrid Services in Windows Admin Center.
You can download Windows Admin Center here.