Règle de collecte des performances de Latence moyenne de disque physique (ms)
Cette règle est obligatoire pour collecter la valeur du compteur de performances pour la latence moyenne de disque physique.
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.Latency.Average.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.Latency.Average</MetricName>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>PhysicalDisk</ObjectName>
<CounterName>PhysicalDisk.Latency.Average</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='PhysicalDisk.Latency.Average']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>