Availability alerting for arc-enabled machine using HeartBeat does not work.
Dear Microsoft community,
I want to configure an alert that fires when an arc-enabled machine has been down for 5m or longer. For this I use the heartbeat of the agent running on this arc-enabled machine. I wrote the following query for this:
Heartbeat| where _ResourceId has 'microsoft.hybridcompute'| summarize lastcall = max(TimeGenerated) by Computer, _ResourceId| where lastcall < ago(5m)
This query works when used in the log analytic workspace. But this doesn't trigger an alert when used in a alert rule.
Alert rule configuration:
Measurement
- Measure: Table rows
- Aggregation type: count
- Aggregation granularity: 5 minutes
Split by dimensions
- Resource ID column: _ResourceId
Alert logic
- Operator: Greater than
- Treshold value: 0
- Frequency of evaluation: 5 minutes
Any idea why this doesn't trigger an alert?
Kind regards,
Stephen.