Syslog の重大なアラート ルール

Microsoft.Solaris.10.LogFile.Syslog.Critical.Alert (Rule)

Syslog の重大なメッセージのアラート ルール

Knowledge Base article:

概要

syslog に関する重要なイベントがシステム ログ ファイルで検出されました。Syslogd は、Syslog プロセスに関連する内部イベントをログします。

原因

エラーが発生するのには、いくつかの理由が考えられます。エラーに関する情報については、関連の出力データ アイテム、イベント、およびアラートを参照してください。

解決方法

アラートや出力データ アイテムの説明には、発生した問題に関する情報が含まれています。問題を診断するには、関連イベントの詳細およびこのエラーとほぼ同時刻に発生したその他のイベントを確認してください。

Element properties:

TargetMicrosoft.Solaris.10.Computer
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Syslog の重大なアラートが検出されました
{0}

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Unix.SCXLog.Datasource Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Solaris.10.LogFile.Syslog.Critical.Alert" Target="Microsoft.Solaris.10.Computer" Enabled="true" Remotable="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Unix!Microsoft.Unix.SCXLog.Datasource">
<Host>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Host>
<LogFile>/var/adm/messages</LogFile>
<RegExpFilter>.*[Ss]yslog\.([Cc]rit|[Ee]merg|[Aa]lert).*</RegExpFilter>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Solaris.10.LogFile.Syslog.Critical.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>