I want to implement heartbeat to check availability on premise server that has installed azure arc on it. I need steps for that?

Miloš Petrović 40 Reputation points
2024-01-03T11:59:58.32+00:00

I installed azure arc agent on the server and I can see the basic metrics on azure portal CPU, Memory, RAM...
But I want constantly monitor the connection with that server, like sending ping every 30 seconds and I found out about the heartbeat but I not sure how to implement it. I found this answer to the question like mine and follow the steps until number 6(because I can't find step numer6.) https://learn.microsoft.com/en-us/answers/questions/1337843/i-want-to-check-vm-availaible-by-heartbeat-can-you

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,922 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
358 questions
0 comments No comments
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 20,986 Reputation points
    2024-01-04T10:03:24.6733333+00:00

    Miloš Petrović, thank you for posting this question here.

    Based on the information available in the question, the "Agents" tab under "Insights" of Log Analytics workspace would meet your requirement. This contains the agents reporting data to Log Analytics Workspace, the Heartbeat trend (which is a small packet sent by the agent on VM every minute to the Log Analytics worksapce) and Agent catagory. The screenshot below shows this information:

    User's image

    You can also query the "Heartbeat" table in the "Log" section to get further insights as required. Some of the sample queries are available here - Sample log searches for Heartbeat

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Miloš Petrović 40 Reputation points
    2024-01-04T13:34:37.1366667+00:00

    @AnuragSingh-MSFT thank you so much for the fast answer I found the heartbeat and I was wondering if you can help me with one more thing also regarding this heartbeat topic. I would like to make a dashboard were I can constantly monitor availability of the server to put up on my tv in the office, is something like that possible? I already made some type of custom dashboards for monitoring purposes, so I have experience with making dashboards

    0 comments No comments