이 규칙은 Learning 모듈에서 런타임 실패가 발생할 경우 경고를 생성합니다.
Learning 모듈을 실행하지 못했습니다. 이 규칙은 10118, 10119, 10120, 10121, 10122 이벤트 ID 중 하나가 기록될 경우 경고를 생성합니다. 다음 레지스트리 위치에 대해 읽기, 쓰기 또는 만들기 작업이 실패한 경우 이러한 이벤트가 발생합니다.
HKLM\Software\Microsoft\Microsoft Operations Manager\3.0\Modules\Baselining\
다음 중 한 가지 이유로 레지스트리 작업이 실패했을 수 있습니다.
작업 계정에 이러한 작업에 필요한 권한이 없습니다.
위 레지스트리 위치가 처음으로 만들어질 때 사용된 작업 계정에 이 키에 대한 읽기/쓰기 권한이 있습니다. 설치 후 작업 계정이 변경되면 처음에 레지스트리 키를 만든 계정과 새 계정이 다르므로 새 작업 계정으로 해당 레지스트리에 액세스할 수 없습니다.
이 문제를 해결하려면 다음 단계를 시도하십시오.
이벤트 로그를 검토하고 위 이벤트 중 하나를 찾아 경고를 발생시키는 문제를 확인합니다.
작업 계정에 해당 레지스트리 위치에 대한 읽기 및 쓰기 권한이 있는지 확인합니다.
Target | Microsoft.SystemCenter.HealthService | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.LearningModule.FailedExecution.Alert" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" 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 Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10118</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10122</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.LearningModule.FailedExecution.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>