Azure Arc Server - Alerting when unavailable

Jannik Leenen 0 Reputation points
2024-01-03T12:27:54.15+00:00

Hey!

I am trying for quite some time now to get my local servers monitored with Azure Arc, but I seem to not be doing it the right way.

I want some basic functions for now, such as "Notify when a Server is unavailable".

I understand that there are Alert rules and Action groups, and I do understand how they work together.

The Issue is that documentation I find is quite confusing, as most of it is for Azure VM's and does not work for Arc connected Servers, and I am having issues with creating rules that trigger when there is a change, rather than a constant notification while a Server is down.
E.g., when I use a query that says "if the hearbeat is unavailable" - it does not check if the heartbeat has changed, just if it is unavailable.

Also, I assume that microsoft has this somehow covered more natively, I just don't know where?

Can anyone point me into a direction of some documentation or some general idea on how to do a basic task like this?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,858 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
337 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 20,431 Reputation points
    2024-01-08T11:11:22.6+00:00

    Jannik Leenen, thank you for posting this question on Microsoft Q&A.

    I understand your situation and will be happy to help you out. There are multiple options available to monitor Azure Arc servers (most of which are very similar to Azure VMs). Thus the options available for Azure VM also apply to Azure Arc connected server. The following are some of the basic ideas and links to get you started:

    1. VM Insights - Once you have onboarded your servers as Azure Arc Connected machine, the VM Insights can help you configure basic monitor with few clicks. These are pre-configured set of rules which collect data from VM. For more details, see Overview of VM insights.
    2. Similarly, the "data collection rules" can be used to configure alerts from both - Azure VMs and Azure Arc connected servers.
    3. Regarding your query in question related to multiple "Heartbeat" alert, you can use "Automatically resolve alerts" option. This option is only available when creating an alert rule based on log queries. For more details, see "Configure details" section of the following doc - Tutorial: Create a log query alert for an Azure resource

    If you have any other specific queries, please let us know so that we can help you out.

    Hope the information above helps.

    If the information above helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    0 comments No comments