Średni czas dysku w s/transfer (SUSE Linux Enterprise Server 12)

Microsoft.Linux.SLES.12.PhysicalDisk.AverageDiskTransferTime.Collection (Rule)

Reguła zbierania danych licznika wydajności Dysk fizyczny\Średni czas dysku w s/transfer

Knowledge Base article:

Podsumowanie

Ta zasada umożliwia zbieranie danych licznika wydajności Dysk fizyczny\Średni czas dysku (s)/Transfer. Zebrane wartości są dostępne w raportach i widokach wydajności.

Ten pomiar przedstawia średni czas trwania (w sekundach) operacji transferu na dysku. Dysk powodujący „wąskie gardło” może spowalniać działanie całego systemu.

Wartość zwracana przez agenta to średnia szybkość dla poprzednich 5 minut.

Monitorowanie dysków fizycznych jest domyślnie wyłączone. Aby włączyć monitorowanie, należy włączyć wykrywanie obiektów o nazwie „Odnajdywanie dysków fizycznych w systemie SUSE Linux Enterprise Server 12”.

Element properties:

TargetMicrosoft.Linux.SLES.12.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.SLES.12.PhysicalDisk.AverageDiskTransferTime.Collection" Target="Microsoft.Linux.SLES.12.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>