UNIX/Linux 실행 계정 경고 규칙

Microsoft.Unix.RunAsAccountErrors.Alert (Rule)

UNIX/Linux 실행 계정 오류 메시지에 대한 경고 규칙입니다.

Knowledge Base article:

요약

UNIX/Linux 실행 계정이 잘못 구성되어 오류가 발생했습니다.

원인

하나 이상의 UNIX/Linux 실행 프로필이 구성되지 않았거나 잘못된 UNIX/Linux 계정 유형을 포함합니다.

해결 방법

UNIX/Linux 실행 프로필의 속성을 확인하세요. 필요한 프로필은 3개이며 하나는 권한 없는 모니터링용이고, 하나는 권한 있는 모니터링용이며, 나머지 하나는 에이전트 유지 관리용입니다. 각 프로필은 적절한 유형의 UNIX/Linux 계정 하나 이상과 연결되어야 하고 프로필은 잘못된 유형의 계정과 연결되어서는 안 됩니다.

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryEventCollection
EnabledTrue
Event SourceCross Platform Modules
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
UNIX/Linux 실행 프로필 연결 오류 이벤트가 검색됨
{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.Unix.RunAsAccountErrors.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 Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<!-- Check for 4112 - SCX_E_ACTION_RUNAS_PROFILE_HAS_MAINTENANCE_ACCOUNT, i.e. maintenance account used with monitor profile -->
<!-- Check for 4113 - SCX_E_INVALID_ACTION_RUNAS_PROFILE, i.e. no account for monitor profile -->
<!-- Check for 4114 - SCX_E_INVALID_MAINTENANCE_RUNAS_PROFILE, i.e. no account for maintenance profile -->
<!-- Check for 4176 - SCX_E_WSMAN_DOES_NOT_SUPPORT_SU_ELEVATION, i.e. invalid SU elevation -->
<Pattern>411[234]|4176</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Unix.RunAsAccountErrors.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>