Welcome to Microsoft Q&A! Thanks for posting the question.
I would suggest setting Heartbeat alert for the VMs being monitored so that you may get alerted when the VM has not sent heartbeat to the workspace in a while. Heartbeats are sent by MMA agent every minute to the connected LogAnalytics workspace. You can get more details about it here.
On the VM/machine with MMA agent installed, the Operations Manager event logs under "Applications and Services Logs" in Event Viewer can help you identify errors being reported by agent itself, if any. You can also check the Application logs under "Windows Logs" in Event Viewer to check any other error (if the MMA agent or related
MontoringHost.exe process might be crashing etc.)
You may refer to this link for more details on Troubleshooting issues with Log Analytics (MMA) agent.
---
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.