Monitor średniej szybkości transferu dysku na sek./zapis

Microsoft.Linux.RHEL.6.PhysicalDisk.AverageDiskWriteTime.Monitor (UnitMonitor)

Średnia dysku fizycznego w systemie Red Hat Enterprise Linux Server 6 dysku fizycznego na sek./zapisu

Knowledge Base article:

Podsumowanie

Średni czas zapisu na dysku fizycznym jest wysoki. Może to mieć niekorzystny wpływ na wydajność systemu.

Średni czas zapisu na dysku fizycznym jest mierzony w sekundach. Dysk powodujący „wąskie gardło” może spowalniać działanie całego systemu.

Próg monitora jest analizowany w odniesieniu do średnich wartości zwracanych w sondach do agenta, gdzie parametr Liczba próbek określa liczbę próbek uwzględnionych podczas obliczania średniej. Wartość zwracana przez agenta to średnia szybkość dla poprzednich 5 minut.

Konfiguracja

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

Konfiguracja domyślna

Parametr

Wartość domyślna

Próg

0.05

Interwał (w sekundach)

300

Liczba próbek

5

W celu zmiany wartości parametrów zdefiniowanych powyżej dla wszystkich lub określonych wystąpień bądź grup można zastosować przesłonięcia.

Przyczyny

Zła kondycja oznacza, że średni czas zapisu na dysku fizycznym jest aktualnie wysoki.

Taki stan mogą powodować następujące okoliczności:

Rozwiązania

Element properties:

TargetMicrosoft.Linux.RHEL.6.PhysicalDisk
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Średni czas zapisu dyskowego (s) jest zbyt wysoki
Próg licznika wydajności Dysk fizyczny\Średni czas zapisu dyskowego (s) został przekroczony. Wartość przekraczająca próg to: {0} s/zapis.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.6.PhysicalDisk.AverageDiskWriteTime.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.6.PhysicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.6.PhysicalDisk.AverageDiskWriteTime.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Error" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<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/Write</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(.)='AverageWriteTime']$</Value>
<Threshold>.05</Threshold>
<NumSamples>5</NumSamples>
</Configuration>
</UnitMonitor>