操作系统中断时间百分比总计

Microsoft.Linux.RHEL.6.OperatingSystem.TotalPercentInterruptTime.Monitor (UnitMonitor)

Red Hat Enterprise Linux Server 6 操作系统中断时间百分比总计监视器

Knowledge Base article:

摘要

该监视器检查系统的中断时间百分比总计。如果收到监视器发出的警报,则必须采取措施以将系统恢复到操作状态。

中断时间百分比是采样间隔期间处理器在接收和服务硬件中断方面所花费的时间。此值是生成中断的设备(例如系统时钟、磁盘驱动程序、数据通讯线路、网络接口卡和其他外围设备)的活动的间接指示器。这些设备完成某项任务或需要注意时,通常会中断处理器。

原因

较高的中断时间百分比 (%) 通常表示硬件设备存在问题。

解决方法

中断时间百分比计数器 (%) 将不会特别识别导致较高中断时间百分比 (%) 的设备。应检查系统日志文件以识别设备错误。

Element properties:

TargetMicrosoft.Linux.RHEL.6.OperatingSystem
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
中断时间总百分比太高
已超过 Processor\\% Interrupt Time\_Total 性能计数器的阈值。超过了阈值的值是: {0}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.6.OperatingSystem.TotalPercentInterruptTime.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.6.OperatingSystem" 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.OperatingSystem.TotalPercentInterruptTime.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_ProcessorStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Processor</ObjectName>
<CounterName>% Interrupt Time</CounterName>
<InstanceName>_Total</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Value>$Data///*[local-name()="PercentInterruptTime"]$</Value>
<Threshold>10</Threshold>
<NumSamples>5</NumSamples>
</Configuration>
</UnitMonitor>