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

Microsoft.Linux.SLES.9.Process.Syslog.Monitor (UnitMonitor)

SUSE Linux Enterprise Server 9 プロセス Syslog モニター

Knowledge Base article:

概要

Syslog デーモンが実行されていません。[診断] および [復元] の結果を確認して、さらに操作が必要かどうかを確かめます。

Syslog デーモンは、メッセージのログ出力とファイルおよびユーザーへの転送機能を実装します。

原因

異常な状態とは、Syslog デーモンが実行されていないことを示します。

解決策

ps -ef | grep rsyslogd を実行するか、Operations Manager コンソールで診断を表示して、システム上のサービスを確認します。停止状態になっている場合は、service rsyslog restart コマンドを使用するか、Operations Manager コンソールの復元リンクをクリックして、プロセスを開始できます。

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

Element properties:

TargetMicrosoft.Linux.SLES.9.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
Syslog デーモンが実行されていません
サーバー {0} で Syslog デーモンが実行されていません。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.SLES.9.Process.Syslog.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.9.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.9.Process.Syslog.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>syslogd</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>