Server Management Suite

 View Only
  • 1.  Monitor % Free Space (*)

    Posted Feb 09, 2011 11:27 AM

    So I created a monitor to track the % Free Space all all drives. However this seems to also grab the hiden system drive on 2k8 servers as HarddiskVolume1. Is there a way to filter this out or do I have to great a monitor for each posible driver leter?

     

    LogicalDisk - % Free Space (*) C:: 43.6734693877551, F:: 57.4379761672202, HarddiskVolume1: 0, _Total: 48.2345472008335



  • 2.  RE: Monitor % Free Space (*)
    Best Answer

    Posted Feb 10, 2011 05:41 AM

     

    Hi noodleNT,

     

     

    Performance counter metric have no filtering or selecting multiple instances options.

     

    To resolve your problem please create a new WMI metric, and add it to policy instead of Performance counter “LogicalDisk - % Free Space total” metric. Like it is shown on the image:

     

     

     

    This query will show all the visible Drives, where the Free Space is available. No hidden partitions will be shown. This  should resolve your problem with useless information about hidden partition on windows 2008.

     

     

    If you need Total free space on all drives, you should create performance counter metric with “_Total” instance, it will show only total free space (It will show free space for all drives, as hidden win2008R2 drive always has 0 value for free space, Total instance will show proper value).

     

    Regards,

    Dmitri



  • 3.  RE: Monitor % Free Space (*)

    Posted Feb 10, 2011 05:47 PM

    Your query only returns the one large value in monitor solution. I don't see how you are getting the different drives. This also pull network and removable disks. You need to add "Where DriveType=3" to get the actual visable OS drive leters. How are you getting each drive? It looks like you are creating a metric for each drive you want to check.



  • 4.  RE: Monitor % Free Space (*)

    Posted Feb 10, 2011 06:27 PM

    So I created two WMI metrics with the following queries.

    LogicalDisk - Free Space:

    select FreeSpace from Win32_LogicalDisk Where DriveType=3

     

    LogicalDisk - Total Size

    select Size from Win32_LogicalDisk Where DriveType=3

     

    I then created a compound metric with these to to get the percent value.

    I now used this compound metric to run my low disk space monitor rules.

     

    Thanks for getting me in the right direction!