标签: azure azure-oms
如何在服务器电源关闭或不可用时在OMS中设置警报?我在谷歌搜索但警报要么不工作,要么发送太多。我需要在服务器下线后立即生成警报
答案 0 :(得分:0)
Heartbeat | summarize LastHeartbeat = max(TimeGenerated) by Computer | where Computer == "server1" | where LastHeartbeat < ago(5m)