プロセス Klog サービスのヘルス

Microsoft.Linux.SLES.11.Process.Klog.Monitor (UnitMonitor)

SUSE Linux Enterprise Server 11 プロセス Klog モニター

Knowledge Base article:

概要

カーネル メッセージ ログ出力デーモンが実行されていません。

カーネル メッセージ ログ出力デーモンは、メッセージ ソースをリッスンしてカーネル メッセージの優先順位を決定し、処理します。

原因

エラーは、klogd サービスが停止していることを示します。

解決策

ps -ef | grep klogd を実行するか、Operations Manager コンソールで診断を表示して、システム上のサービスを確認します。このためには、/sbin/klogd を実行するか、Operations Manager コンソールの復元リンクをクリックします。

根本原因を解明するには、まずシステム ログ ファイル (/var/log/messages) を確認し、障害発生時の関連するエントリを表示します。

Element properties:

TargetMicrosoft.Linux.SLES.11.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.SLES.11.Process.Klog.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.11.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.11.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>