Reguła zbierania danych dotyczących bieżącej długości kolejki dysku w systemach Windows Server 2016 i nowszych

Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength.Collection (Rule)

Zbiera dane z licznika wydajności Dysk logiczny\Bieżąca długość kolejki dysku

Knowledge Base article:

Podsumowanie

Ta reguła umożliwia zbieranie danych licznika wydajności Dysk logiczny\Bieżąca długość kolejki.

Licznik wydajności Dysk logiczny\Bieżąca długość kolejki przedstawia bieżącą liczbę żądań odczytu i zapisu w kolejce dla wybranego dysku w interwale próbkowania.

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Instance NameLogicalDisk
Counter NameCurrent Disk Queue Length
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Current Disk Queue Length</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>32</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>