Monitoring of the private locations/Heartbeats

Hello! Are there any recommendations on how to monitor health of the private locations created with Elastic Agents and Heartbeats? For example, I would like to know that all the private locatons/Heartbeats are healthy and receive alerts in case some of them are not reporting data. Currently if my agent stops reporting uptime data of the service, the monitor still shows the monitor state as "Up".

For Elastic Agent, select Agent metrics in the policy. Then go to Infrastructure in Observability, select the host. Select Create inventory rule. Select the alert me if there is no data checkbox.