Operating System Total Percent Interrupt Time

Microsoft.Linux.SLES.12.OperatingSystem.TotalPercentInterruptTime.Monitor (UnitMonitor)

SUSE Linux Enterprise Server 12 Operating System Total Percent Interrupt Time 监视器

Knowledge Base article:

摘要

中断时间的总百分比(适用于所有处理器)高。系统性能可能会受到负面影响。

总中断时间是所有处理器在接收和服务硬件中断上花费的时间。此值是生成中断的设备(例如系统时钟、鼠标、存储控制器、数据通讯线路、网络接口卡和其他外围设备)的活动的间接指示器。这些设备完成某项任务或需要注意时,通常会中断处理器。在中断期间暂挂正常线程执行。

此监视器阈值是按照轮询过程中返回给代理的平均值分析的,其中“样本数”参数控制平均值计算中所包含的样本数。代理返回的值是按 1 分钟间隔查询的最近 5 个值的移动平均值。

配置

默认配置

参数

默认值

阈值

10

间隔(秒)

300

样本数

3

替代可用于更改以上为所有实例或为特定实例或组定义的参数值。

原因

中断时间长的情况通常表示硬件设备有问题。

解决方法

应检查系统日志文件以识别设备错误。

Element properties:

TargetMicrosoft.Linux.SLES.12.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.SLES.12.OperatingSystem.TotalPercentInterruptTime.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.12.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.SLES.12.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>/DataItem/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='PercentInterruptTime']$</Value>
<Threshold>10</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>