워크플로 런타임: WMI 이벤트에 대한 WMI 쿼리 실행 실패

Microsoft.SystemCenter.WmiEventModule.FailedExecution.Alert (Rule)

이 규칙은 WMI Event 모듈에서 런타임 실패가 발생할 경우 경고를 생성합니다.

Knowledge Base article:

요약

Operations Manager가 WMI 이벤트와 관련된 WMI 쿼리 또는 스크립트를 실행하지 못했습니다.

원인

가능한 원인은 다음과 같습니다.

Operations Manager가 컴퓨터 또는 네임스페이스에 연결하지 못했습니다. 사용 권한 때문일 수도 있고 잘못된 WMI 네임스페이스가 사용되었기 때문일 수도 있습니다.

Operations Manager에서 WMI 쿼리를 실행하지 못했습니다. 사용 권한 때문일 수도 있고 잘못된 WMI 쿼리 때문일 수도 있습니다.

Windows Server 2008를 실행하는 컴퓨터에서 WMI 오류가 발생하는 경우 기술 자료 문서 958807(http://go.microsoft.com/fwlink/?LinkID=133791)에 설명된 알려진 WMI 문제 때문일 수 있습니다.

해결 방법

이 문제의 원인에 대한 자세한 내용은 관련 경고 컨텍스트를 확인하여 알아볼 수 있습니다.

경고 컨텍스트는 이 문제가 연결 문제인지, 사용 권한 문제인지, 아니면 쿼리 문제인지에 대해 자세히 설명합니다.

연결 문제인 경우에는 DCOM이 사용되도록 설정되어 있는지 확인하세요.

사용 권한 문제인 경우 Operations Manager 실행 계정에 WMI에 액세스할 수 있는 적절한 권한이 있는지 확인하세요.

쿼리 문제인 경우 WMI 스크립트를 포함하는 규칙 또는 모니터를 검사하고 수정하여 적절한 조치를 취합니다.

또한 기술 자료 문서 958807(http://go.microsoft.com/fwlink/?LinkID=133791)에 제공된 정보를 검토하세요. 업데이트가 있는 경우 이 컴퓨터에 업데이트를 적용합니다.

다음 링크를 클릭하면 WMI 이벤트 구성 요소와 관련하여 발생할 가능성이 있는 문제를 나타내는 모든 이벤트가 표시됩니다.

WMI 공급자 이벤트 보기

외부 정보

WMI 문제 해결에 대한 자세한 내용을 보려면 http://go.microsoft.com/fwlink/?LinkId=158224를 방문하세요.

http://go.microsoft.com/fwlink/?LinkId=158226에서 WMI 진단 유틸리티를 다운로드할 수도 있습니다. WMI 진단 유틸리티는 컴퓨터에서 WMI 서비스의 현재 상태를 해결하는 데 유용하도록 설계된 VBScript 스크립트입니다.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Operations Manager가 WMI 이벤트에 대해 WMI 쿼리를 실행하지 못함
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Consolidator ConditionDetection Microsoft.SystemCenter.Overridable.ConsolidatorCondition Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.WmiEventModule.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>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10353</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10357</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10359</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10361</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10363</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<ConditionDetection ID="Consolidator" TypeID="Microsoft.SystemCenter.Overridable.ConsolidatorCondition">
<ConsolidationProperties>
<PropertyXPathQuery>Params/Param[1]</PropertyXPathQuery>
<PropertyXPathQuery>Params/Param[2]</PropertyXPathQuery>
<PropertyXPathQuery>EventDisplayNumber</PropertyXPathQuery>
</ConsolidationProperties>
<IntervalSeconds>3600</IntervalSeconds>
<Count>3</Count>
</ConditionDetection>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.WmiEventModule.FailedExecution.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Context/DataItem/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$EventData/Data[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>