SOLVED

Insights of Virtual Machine not showing all mount points

Copper Contributor

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.

 

 

4 Replies

@shivaprasad2895 

 

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

 

@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.

Screenshot from 2022-03-10 13-36-18.png

 
Does the above statements mean VM insights do not show info about the attached disks ?

best response confirmed by shivaprasad2895 (Copper Contributor)
Solution
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-considerati...

and

https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-health-enable?tabs=powershell
Thanks Clive Watson. This definitely helps. The filesystem at my mount point is btrfs. So it will not show up in VM insights.
1 best response

Accepted Solutions
best response confirmed by shivaprasad2895 (Copper Contributor)
Solution
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-considerati...

and

https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-health-enable?tabs=powershell

View solution in original post