Storage Pool: Total Capacity (TB)

Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Discovery.StoragePool.Performance.TotalCapacity.Collection (Rule)

Storage Pool Total Capacity (TB) performance collection rule

Knowledge Base article:

Summary

Storage Pool : Total Capacity (TB)

Element properties:

TargetMicrosoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StoragePool
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FilteredMetricsDataSource Microsoft.Storage.Library.MonitoringRunAsProfile
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Discovery.StoragePool.Performance.TotalCapacity.Collection" Enabled="true" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StoragePool" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FilteredMetricsDataSource" RunAs="MicrosoftStorageLibrary!Microsoft.Storage.Library.MonitoringRunAsProfile">
<StorageClassName>MSFT_StoragePool</StorageClassName>
<StorageObjectUniqueID>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.Pool"]/UniqueID$</StorageObjectUniqueID>
<MetricName>TotalCapacity</MetricName>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Storage Pool</ObjectName>
<CounterName>Total Capacity</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='TotalCapacity']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>