このルールは、WMI イベント モジュールで実行時エラーが発生した場合にアラートを生成します。
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 が有効になっていることを確認します。
Dcomcnfg.exe を実行します。
[コンソール ルート] の下の [コンポーネント サービス] ノードをクリックします。
[Computers] フォルダーを開きます。
ローカル コンピューターの場合は、[マイ コンピューター] を右クリックして [プロパティ] をクリックします。
リモート コンピューターの場合は、[Computers] フォルダーを右クリックして [新規作成] をポイントし、[コンピューター] をクリックします。
コンピューター名を入力します。
コンピューター名を右クリックして [プロパティ] をクリックします。
[既定のプロパティ] タブをクリックします。
[このコンピューター上で分散 COM を有効にする] チェック ボックスをクリックして、オンまたはオフにします。
[既定の認証レベル] を [接続] に設定します。
[既定の偽装レベル] を [識別] に設定します。
アクセス許可の問題の場合は、Operations Manager 実行アカウントに WMI にアクセスするための適切なアクセス許可があることを確認します。
クエリの問題の場合は、WMI スクリプトを含んでいるルールまたはモニターを調べ、変更を加えて適切な措置を取ります。
詳細については、 サポート技術情報の記事 958807 (http://go.microsoft.com/fwlink/?LinkID=133791) も確認してください。更新プログラムが利用できる場合は、このコンピューターに適用します。
次のリンクをクリックすると、WMI イベント コンポーネントでの問題を示すすべてのイベントが表示されます。
WMI プロバイダー イベントの表示
WMI のトラブルシューティングの詳細については、 http://go.microsoft.com/fwlink/?LinkId=158224 を参照してください。
WMI 診断ユーティリティを http://go.microsoft.com/fwlink/?LinkId=158226 からダウンロードすることもできます。WMI 診断ユーティリティは、コンピューターの WMI サービスの現在の状態を解決するために記述された VBScript です。
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 |
Consolidator | ConditionDetection | Microsoft.SystemCenter.Overridable.ConsolidatorCondition | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<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>