Sample queries

Ops Center Analyzer User Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA002-06

Example queries for creating custom reports for monitoring capacity and configuration data are as follows:

To monitor unallocated capacity:
raidStorage[=name rx .*]&[=unAllocatedCapacity  rx .+]{resourceRollupOp=sum,inputCounters=raidStorage.unAllocatedCapacityInGB}
To monitor capacity in GB:
raidStorage[=name rx .*]&[=capacity rx .+]{resourceRollupOp=sum,inputCounters=raidStorage.capacityInGB}
To show capacity data in GB and monitor unallocated capacity:
raidStorage[=name rx .*]&[=capacity rx .+] {resourceRollupOp=sum,inputCounters=raidStorage.capacityInGB}&[=unAllocatedCapacity  rx .+]{resourceRollupOp=sum,inputCounters=raidStorage.unAllocatedCapacityInGB}
To monitor the storage used capacity, unallocated capacity, allocated capacity, free capacity, and reserved capacity:
raidStorage[=name rx .*]&{resourceRollupOp=sum,inputCounters=raidStorage.capacityInGB}&{resourceRollupOp=sum,inputCounters=raidStorage.unAllocatedCapacityInGB} [=capacityInGB rx .+]&[=allocatedCapacityInGB rx .+]&[=unAllocatedCapacityInGB rx .+]&[=totalFreeSpaceInGB rx .+]&[=openReservedCapacityGB rx .+]&[=otherCapacityGB rx .+]
To monitor the total capacity, used capacity, and available capacity for all pools:
raidStorage/raidPool[=name rx .*]&[=availableCapacityInGB rx .+]&[=totalCapacityInGB rx .+]&[=usedCapacityInGB rx .+]