This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Skip certain volume label or drive letter in the Guest Storage Space Utilization script

Dear,


I would like to ignore the S:\ drive letter (label SWAP) from this report.

Since the pagefile is stored on that drive and the disks have been created with only a few extra 100 mb's, all my VM's are listed as being out of space.

Is this possible? 


Thanks in advance,

Erik

Parents Reply Children
  • I think the certain guest drives can be filtered out from the alert. When you edit the Guest Storage Space Utilization alert, go to Criteria tab, 'Base Alert On' change to Attribute. There you may specify a xpath query  - something like this:

    count( /virtualMachine/diskVolume[./mountPoint/text() !='D:\' and ./freeSpacePercentage<5])

    Also change the Units to unit, aggreation function to Count, and change 'Triggers On' to 'Range', check Greather than > 0

    This example should skip VMs, where only disk D:\ is nearly full.