0

I have a Linux VM with omsagent running, that is shown as "Connected" in OMS Portal. But in Azure Log Analytics it is shown as "Not Connected" and if i click on connect "Error".

So what is the difference between Azure and OMS Portal. what is missing on my VM?

arved
  • 453
  • 2
  • 14
  • Log Analytics is a service in Operations Management Suite (OMS) that helps you collect and analyze data generated by resources in your cloud and on-premises environments. – Shui shengbao Jan 06 '17 at 02:46
  • Do you have more detailed error logs? – Shui shengbao Jan 06 '17 at 02:46
  • Maybe you could check as the link. https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-azure-vm-extension#troubleshooting-linux-virtual-machines – Shui shengbao Jan 06 '17 at 02:49
  • Thanks for trying to help. Looking through the URL you posted, there are two things to add. 1. I didn't install omsagent via the waagent extension, because this does not work on my unsupported distribution. 2. My instance is happily streaming syslog and heartbeat messages to Log Analytics. It is just that Azure does not mark it as connected. – arved Jan 06 '17 at 19:06

1 Answers1

1

Difference seems to be if the azure vm extension is installed.

Check if it is installed with:

azure vm extension get <resource-group> <vm-name>

See also https://github.com/Azure/azure-linux-extensions https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-extensions-features

arved
  • 453
  • 2
  • 14