PhysicalDisk Capacity Size Used (GB)
Microsoft.SystemCenter.OperationsManager.Storage.PhysicalDisk.Capacity.Size.Used.Collection (Rule)
PhysicalDisk Capacity Size Used (GB) performance collection rule
Element properties:
Member Modules:
Source Code:
<Rule ID="Microsoft.SystemCenter.OperationsManager.Storage.PhysicalDisk.Capacity.Size.Used.Collection" Enabled="true" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.PhysicalDisk" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.PhysicalDisk.FilteredMetricsDataSource" RunAs="MicrosoftStorageLibrary!Microsoft.Storage.Library.MonitoringRunAsProfile">
<StorageClassName>MSFT_PhysicalDisk</StorageClassName>
<StorageObjectUniqueID>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.Disk"]/UniqueID$</StorageObjectUniqueID>
<MetricName>PhysicalDisk.Capacity.Size.Used</MetricName>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>PhysicalDisk</ObjectName>
<CounterName>PhysicalDisk.Capacity.Size.Used</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='PhysicalDisk.Capacity.Size.Used']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>