How to send an alert when have ping failure?

DO HOANG KIEM 180 Reputation points
2023-05-29T14:35:45.4933333+00:00

I want to config an alert when i ping to a VM but failed. Can you tell me how to do this? thanks very much?

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,034 questions
{count} votes

Accepted answer
  1. Andrew Blumhardt 9,776 Reputation points Microsoft Employee
    2023-05-30T04:18:53.7333333+00:00

    With Azure VMs we tend to use a log heartbeat rather than a ping. Logs and metrics are collected constantly. A drop in data collection is comparable. You could have a task run on a VM to ping other systems log the results for collection if necessary.

    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/monitor-virtual-machine-alerts

    0 comments No comments

0 additional answers

Sort by: Most helpful