Nov 05 2019
- last edited on
Apr 08 2022
Can someone help me with finding a way to Alert on missing heartbeats for an On-Premise VM running the MMA?
I have some on-premise machines, which I installed and configured with the MMA to sent their logs towards Log Analytics. I can see heartbeats being reported, but now I want to create an Alert that notifies me whenever one of the hosts is down.
I believe *and correct me if i'm wrong* that if the machine would be running on Azure, we would have metrics coming from the platform capable of detecting missing heartbeats, but since we only have the agent reporting, the actual query would be something like give me an alert when a "previous known" machine is not sending heartbeat anymore for x amount of times within an x defined timeframe.
Can someone help me out here?
Thanks in advance,
Kenneth van Surksum
Nov 06 2019 02:20 PMSolution
Heartbeat is just the agent (so its possible for just the agent to be unavailable whilst the computer is working), so in Azure or on-premises its good to have another check. In Azure, Azure Monitor metrics is good (quick), on-premises you could use something like a Perf counter as another check, but there will be some latency. I know this is being looked at...api calls. ping tests etc...