Regel voor prestatieverzameling van de totale grootte van de fysieke schijfcapaciteit (GB)
Deze regel is vereist om de waarde voor het prestatiemeteritem voor de totale grootte van de fysieke schijfcapaciteit te verzamelen.
Target | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.PhysicalDisk |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.PhysicalDisk.FilteredMetricsDataSource | Microsoft.Storage.Library.MonitoringRunAsProfile |
Mapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.OperationsManager.Storage.PhysicalDisk.Capacity.Size.Total.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.Total</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.Total</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='PhysicalDisk.Capacity.Size.Total']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>