Physical Disk\Avg.Disk sec/Transfer 性能计数器的收集规则
此规则收集 Physical Disk\Avg.Disk sec/Transfer 性能计数器的性能数据。在性能视图和报表中可以访问收集的值。
此指标显示磁盘传输的平均时间(以秒为单位)。成为瓶颈的磁盘可能会造成整个系统缓慢。
代理返回的值是前 5 分钟的平均值。
默认情况下物理磁盘监视处于禁用状态。通过启用名为“发现 SUSE Linux Enterprise Server 10 物理磁盘”的对象发现来启用监视。
Target | Microsoft.Linux.SLES.10.PhysicalDisk |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Unix.WSMan.PerfCounterProvider.Filtered | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Linux.SLES.10.PhysicalDisk.AverageDiskTransferTime.Collection" Target="Microsoft.Linux.SLES.10.PhysicalDisk" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_DiskDriveStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Physical Disk</ObjectName>
<CounterName>Avg. Disk sec/Transfer</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='AverageTransferTime']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>