實體磁碟目前磁碟佇列長度: Windows Server 2016 及更新版本

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

收集效能計數器 PhysicalDisk\Current Disk Queue Length

Knowledge Base article:

摘要

此規則會收集 Physical Disk\Current Queue Length 效能計數器的效能資料。

Physical Disk\Current Queue Length 效能計數器顯示範例間隔時間內在佇列中對於所選磁碟的目前讀寫要求數。

Element properties:

TargetMicrosoft.Windows.Server.10.0.PhysicalDisk
CategoryPerformanceCollection
EnabledTrue
Instance NamePhysicalDisk
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.PhysicalDisk.CurrentDiskQueueLength.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.PhysicalDisk">
<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>PhysicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.PhysicalDisk"]/PerfmonInstance$</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>