locked
Is SCOM can monitor free space and used space on volume mount point RRS feed

  • Question

  •  

    Hi

     

    Our database team in the process of researching using volume mount point on our database clusters to be able to add more database instances on any cluster. Is SCOM can monitor free space and used space on volume mount point?

     

    If so please provide more details or any links to understand more on this

    Regards

    Donald D'souza

    Tuesday, June 7, 2011 11:37 AM

Answers

  • I believe it's just the logical disk rule Donald.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/
    • Proposed as answer by Vivian Xing Wednesday, June 8, 2011 6:35 AM
    • Marked as answer by Vivian Xing Tuesday, June 14, 2011 9:22 AM
    Tuesday, June 7, 2011 4:54 PM
  • Yes it will monitor all logical disk. mountpoint disks will show as their guid though \\?\notsorandomguidstring. Unfortunately, the system partition in windows 7/2008r2 is also in that format. The logical disk view all show these as mounted disks, which isn't true.

    If you can read vbs a bit, these will be the queries ms uses to find logical disks.

     bVolumeInfoSupported = Is_Win32_Volume_Supported(strNetWorkName)
    
    
    
     
     If bVolumeInfoSupported Then 
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strNetWorkName & "\root\cimv2")
    
    
    
     Set oWmiDiskSet = objWMIService.ExecQuery("Select * from Win32_Volume")
    
    
    
     Else
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strNetWorkName & "\root\cimv2")
    
    
    
     Set oWmiDiskSet = objWMIService.ExecQuery("select * from Win32_LogicalDisk where (DriveType=3 or DriveType=6) and FileSystem != null")
    
    
    
     End If
    
    
    
    
    Function Is_Win32_Volume_Supported(TargetComputer)
    
    
    
     Dim objWMIService, objWMISet, objWMIOS, blnRet
    
    
    
     blnRet = False
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & TargetComputer & "\root\cimv2")
    
    
    
     Set objWMISet = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
    
    
    
     For Each objWMIOS in objWMISet
    
    
    
     If CLng(objWMIOS.BuildNumber) >= 3624 Then blnRet = True
    
    
    
     Next
    
    
    
     Is_Win32_Volume_Supported = blnRet
    
    
    
    End Function

    Rob Korving
    http://jama00.wordpress.com/

    • Marked as answer by Vivian Xing Tuesday, June 14, 2011 9:22 AM
    Wednesday, June 8, 2011 11:25 AM

All replies

  • Hi,

    Please take a look at this thread http://social.technet.microsoft.com/forums/en-us/operationsmanagermgmtpacks/thread/58974163-AB81-4E47-936A-5229F4A27657


    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se
    Tuesday, June 7, 2011 12:05 PM
  • Hi

    Thanks for the information. Just want to clarify is the same rule % Logical Disk Free Space 2008 will be used to calculate the free space or is there any other monitor/rule monitors the space on volume mount point.

    Regards

    Donald D'souza

    Tuesday, June 7, 2011 1:19 PM
  • I believe it's just the logical disk rule Donald.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/
    • Proposed as answer by Vivian Xing Wednesday, June 8, 2011 6:35 AM
    • Marked as answer by Vivian Xing Tuesday, June 14, 2011 9:22 AM
    Tuesday, June 7, 2011 4:54 PM
  • Yes it will monitor all logical disk. mountpoint disks will show as their guid though \\?\notsorandomguidstring. Unfortunately, the system partition in windows 7/2008r2 is also in that format. The logical disk view all show these as mounted disks, which isn't true.

    If you can read vbs a bit, these will be the queries ms uses to find logical disks.

     bVolumeInfoSupported = Is_Win32_Volume_Supported(strNetWorkName)
    
    
    
     
     If bVolumeInfoSupported Then 
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strNetWorkName & "\root\cimv2")
    
    
    
     Set oWmiDiskSet = objWMIService.ExecQuery("Select * from Win32_Volume")
    
    
    
     Else
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strNetWorkName & "\root\cimv2")
    
    
    
     Set oWmiDiskSet = objWMIService.ExecQuery("select * from Win32_LogicalDisk where (DriveType=3 or DriveType=6) and FileSystem != null")
    
    
    
     End If
    
    
    
    
    Function Is_Win32_Volume_Supported(TargetComputer)
    
    
    
     Dim objWMIService, objWMISet, objWMIOS, blnRet
    
    
    
     blnRet = False
    
    
    
     Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & TargetComputer & "\root\cimv2")
    
    
    
     Set objWMISet = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
    
    
    
     For Each objWMIOS in objWMISet
    
    
    
     If CLng(objWMIOS.BuildNumber) >= 3624 Then blnRet = True
    
    
    
     Next
    
    
    
     Is_Win32_Volume_Supported = blnRet
    
    
    
    End Function

    Rob Korving
    http://jama00.wordpress.com/

    • Marked as answer by Vivian Xing Tuesday, June 14, 2011 9:22 AM
    Wednesday, June 8, 2011 11:25 AM