將 UNIX/Linux 的 ACS 模組寫入安全性事件記錄檔失敗警示規則

Microsoft.ACS.Unix.SecurityEventLogWriteFail.Alert (Rule)

將 UNIX/Linux 的 ACS 模組錯誤寫入安全性事件記錄檔訊息的警示規則。

Knowledge Base article:

摘要

管理伺服器無法寫入安全事件記錄檔。

原因

每部管理伺服器都必須具有寫入安全事件記錄檔的權限。

解決方式

請以系統管理員身分執行 Operations Management Server。

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryEventCollection
EnabledTrue
Event_ID258
Event SourceCross Platform ACS
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
偵測到 UNIX/Linux 的 ACS 模組寫入安全性事件記錄檔錯誤事件
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.ACS.Unix.SecurityEventLogWriteFail.Alert" Enabled="true" Target="SC!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Cross Platform ACS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>258</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.ACS.Unix.SecurityEventLogWriteFail.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>