物理磁盘每秒的磁盘字节数 2008

Microsoft.Windows.Server.2008.PhysicalDisk.DiskBytesPerSec.Collection (Rule)

收集性能计数器 PhysicalDisk\Disk Bytes/sec。

Knowledge Base article:

摘要

此规则收集 Physical Disk\Disk Bytes/sec 性能计数器的性能数据。

Physical Disk\Disk Bytes/sec 性能计数器显示在写入或读取操作期间磁盘上传入或传出数据的速率。

Element properties:

TargetMicrosoft.Windows.Server.2008.PhysicalDisk
CategoryPerformanceCollection
EnabledFalse
Instance NamePhysicalDisk
Counter NameDisk Bytes/sec
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.2008.PhysicalDisk.DiskBytesPerSec.Collection" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.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>Disk Bytes/sec</CounterName>
<ObjectName>PhysicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.PhysicalDisk"]/PerfmonInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Percentage</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>