I want to check vm availaible by heartbeat. Can you tell me the step?

DO HOANG KIEM 180 Reputation points
2023-07-27T08:53:18.4066667+00:00

I want to check vm availaible by heartbeat but i don't know how it operate. Will you please show me the step?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,458 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tech-Hyd-1989 5,811 Reputation points
    2023-07-27T09:30:45.23+00:00

    Hello DO HOANG KIEM

    1. Go to the Azure portal and sign in to your account.
    2. In the search bar, type "Log Analytics workspaces" and select the option that appears.
    3. Click on the name of the Log Analytics workspace that you want to use to check VM availability.
    4. In the left-hand navigation pane, select "Metrics".
    5. In the search bar, type "Heartbeat" and select the "Heartbeat" metric.
    6. Click on the "Time series" tab.
    7. Select the time range that you want to view.
    8. The "Computer" column will show the name of each VM that is sending heartbeats to the Log Analytics workspace.
    9. The "Value" column will show the most recent heartbeat for each VM.

    If the value in the "Value" column is greater than 0, then the VM is available. If the value is 0, then the VM is not available.

    Here are some additional things to keep in mind:

    • The heartbeat metric is updated every minute.
    • If a VM is not sending heartbeats, it may be offline or it may have been shut down.
    • You can also use the Azure Monitor Agent to check VM availability. The Azure Monitor Agent collects heartbeat data by default, so you can use the Azure Monitor Agent to view the heartbeat data in the Azure portal or in a third-party tool.

    I hope this helps! Let me know if you have any other questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.