进程 Klog 服务运行状况

Microsoft.Linux.RHEL.5.Process.Klog.Monitor (UnitMonitor)

Red Hat Enterprise Linux Server 5 进程 Klog 监视器

Knowledge Base article:

摘要

核心消息登录后台程序未运行。

核心消息登录后台程序侦听消息源,并设置核心消息的优先级和处理核心消息。

原因

失败指明了 klogd 服务已关闭。

解决方法

使用 'ps -ef | grep klogd' 或查看 Operations Manager 控制台中的诊断来检查系统上的服务。运行“/sbin/klogd”或单击 Operations Manager 控制台中的恢复链接来启动。

为了分析根本原因,请首先检查系统日志文件 (/var/log/messages),并查看失败时的任何相关条目。

Element properties:

TargetMicrosoft.Linux.RHEL.5.OperatingSystem
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Process.Status.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Klog 后台程序未运行
服务器 {0} 上的核心消息登录后台程序未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.5.Process.Klog.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.5.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.5.Process.Klog.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Running"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="NotRunning"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>klogd</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>