Varningsregel för UNIX/Linux Kör som-konto

Microsoft.Unix.RunAsAccountErrors.Alert (Rule)

Varningsregel för felmeddelanden för UNIX/Linux Kör som-konto.

Knowledge Base article:

Sammanfattning

Ett fel uppstod på grund av felaktig konfiguration av UNIX/Linux Kör som-konton.

Orsaker

Minst en UNIX/Linux Kör som-profil har inte konfigurerats eller innehåller fel UNIX-/Linux-kontotyp.

Lösningar

Kontrollera UNIX/Linux Kör som-profilernas egenskaper. Tre profiler krävs: En för övervakning utan privilegier, en för privilegierad övervakning och en för agentunderhåll. Varje profil måste vara associerad med minst ett UNIX-/Linux-konto av lämplig typ, och profiler ska inte associeras med konton av fel typ.

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryEventCollection
EnabledTrue
Event SourceCross Platform Modules
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Felhändelse identifierad för UNIX/Linux Kör som-profilassociation
{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>