1 秒間の物理ディスクのバイト数 (ユニバーサル Linux)

Microsoft.Linux.Universal.PhysicalDisk.DiskBytesPerSecond.Collection (Rule)

パフォーマンス カウンター Physical Disk\Disk Bytes/sec の収集ルール

Knowledge Base article:

概要

このルールは、Physical Disk\Physical Disk Bytes/sec パフォーマンス カウンターのパフォーマンス データを収集します。収集された値は、パフォーマンス ビューおよびレポートで確認できます。

この指標は、読み取りまたは書き込み操作中に物理ディスクとの間で転送された 1 秒あたりの平均バイト数を示します。

エージェントによって返される値は、最近 5 分間の平均速度です。

物理ディスクの監視は、既定では無効になっています。監視を有効にするには、[ユニバーサル Linux 物理ディスクの検出] というオブジェクト検出を有効にします。

Element properties:

TargetMicrosoft.Linux.Universal.PhysicalDisk
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Linux.Universal.PhysicalDisk.DiskBytesPerSecond.Collection" Target="Universal!Microsoft.Linux.Universal.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>Physical Disk Bytes/sec</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(.)='BytesPerSecond']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>