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