Azure Monitor Agent Troubleshooting
Perry Thompson
0
Reputation points
After running through the following troubleshooting steps and changing firewall rules, I'm still unable to get my VMs w/Azure Monitor Agent to log data into my log analytics workspace:
AMA Troubleshooting Steps:
- Uninstall and re-install Azure Monitor Agent with user assigned managed identity
- Even though the agent extension showed installed, Type Handler Status showed "Not Readay" which is an indicator that the agent is not functioning properly or authentication leveraging user assigned managed identity is not functioning.
- Result: MonAgentCore.exe is up and running on the VM
- Even though the agent extension showed installed, Type Handler Status showed "Not Readay" which is an indicator that the agent is not functioning properly or authentication leveraging user assigned managed identity is not functioning.
- Unassociated the VMs from the Data Collection Rules re-associated them
- From the Azure portal, when un-associating the VMs from the DCRs, the computers did not appear to remove themselves as they still showed up in the list of VMs
- Had to un-associate the VMs via CLI and PowerShell by removing the Association Names from the data collection rules
- Waited 10 min. and in the Azure Portal, re-associated the VMs to core-01-p0-sr-wsec-dcr-001 and core-01-p0-metrics-ext-dcr-001
- After 15 min., on the VM, verified the existence of C:\WindowsAzure\Resources\AMADataStore.
- From the Azure portal, when un-associating the VMs from the DCRs, the computers did not appear to remove themselves as they still showed up in the list of VMs
Sign in to answer