Hi
You could try these troubleshooting steps:
https://learn.microsoft.com/en-us/system-center/scom/manage-agent-resolve-heartbeat?view=sc-om-2019
I hope this information above can help you, feel free to let us know if you need further assistance.