Forum Discussion
shivaprasad2895
Mar 10, 2022Copper Contributor
Insights of Virtual Machine not showing all mount points
Hi,
I have enabled Insights (in the Monitoring section of VM) on the Virtual Machine. But the
`Max Logical Disk Used %` graph in Insights tab doesn't show all the mount points present in the VM.
Can someone please help.
Even the following query doesn't show all the mount points present in the VM.
InsightsMetrics
| where Name == "FreeSpacePercentage"
| summarize arg_max(TimeGenerated, *) by Tags
| project TimeGenerated, Computer, Val, Tags
Thanks.
- There are some exclusions:
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-performance#limitations
Available memory is not available for virtual machines running Red Hat Linux (RHEL) 6. This metric is calculated from MemAvailable which was introduced in kernel version 3.14.
Metrics are only available for data disks on Linux virtual machines using XFS filesystem or EXT filesystem family (EXT2, EXT3, EXT4).
and
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-overview#linux-considerations
and
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-health-enable?tabs=powershell
- Clive_WatsonBronze Contributor
So do the mount points have an entry in the Time range you have selected, maybe increase the window?
InsightsMetrics | where TimeGenerated > ago(7d) | where Name == "FreeSpacePercentage" //| where Computer == '' | extend mountId_ = tostring(parse_json(Tags).["vm.azm.ms/mountId"]) | where mountId_ has ":" | summarize avg(Val) by mountId_, Computer
- shivaprasad2895Copper Contributor
Clive_Watson
Thanks for the reply.
No, increasing the time range doesn't help. It always shows only two mount points (the root and the temporary filesystem ` / ` and `/mnt` ). I have a 3rd mount point ( /home/test_mnt ) which doesn't show up in the query result.
Does the above statements mean VM insights do not show info about the attached disks ?- Clive_WatsonBronze ContributorThere are some exclusions:
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-performance#limitations
Available memory is not available for virtual machines running Red Hat Linux (RHEL) 6. This metric is calculated from MemAvailable which was introduced in kernel version 3.14.
Metrics are only available for data disks on Linux virtual machines using XFS filesystem or EXT filesystem family (EXT2, EXT3, EXT4).
and
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-overview#linux-considerations
and
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-health-enable?tabs=powershell