İş Akışı Çalışma Zamanı: WMI olayları için WMI sorgusu yürütülemedi

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

Bu kural WMI Olay modülü bir çalışma zamanı hatası yaşadığında uyarılar oluşturur.

Knowledge Base article:

Özet

Operations Manager bir WMI sorgusunu veya WMI olaylarıyla ilişkili bir betiği çalıştıramadı.

Nedenler

Bunun olası nedenleri şunlardır:

Operations Manager bir bilgisayara veya ad alanına bağlanamadı. Bunun nedeni izin sorunları veya geçersiz bir WMI ad alanının kullanılması olabilir.

Operations Manager WMI sorgusunu çalıştıramadı. Bunun nedeni izinler veya geçersiz bir WMI sorgusu olabilir.

WMI hatası Windows Server 2008 çalıştıran bir bilgisayarda meydana geliyorsa, bunun nedeni Bilgi Bankası makalesi 958807(http://go.microsoft.com/fwlink/?LinkID=133791) sayfasında açıklanan bilinen bir sorun olabilir.

Çözümlemeler

Bu soruna neyin neden olduğuna dair daha fazla bilgi, ilişkili uyarı bağlamı incelenerek bulunabilir.

Uyarı bağlamı, bunun bir bağlantı, izin veya sorgu sorunu mu olduğunu ayrıntılı bir şekilde gösterir.

Bu bir bağlantı sorunuysa DCOM'nin etkin olduğundan emin olun

Bir izin sorunu mevcutsa, Operations Manager Farklı Çalıştır hesabının WMI'ya erişmek için uygun izinlere sahip olduğundan emin olun.

Bir sorgu sorunu mevcutsa, WMI betiğini içeren kuralı veya izleyiciyi inceleyin ve değiştirerek uygun eylemi gerçekleştirin.

Ayrıca Bilgi Bankası Makalesi 958807 (http://go.microsoft.com/fwlink/?LinkID=133791) sayfasında verilen ayrıntıları da incelemelisiniz. Güncelleştirme uygulanabilirse, bu bilgisayarda uygulayın.

Aşağıdaki bağlantıda WMI Olay bileşeniyle ilgili olası bir sorunu belirten tüm olaylar görüntülenir:

WMI Sağlayıcı Olaylarını Görüntüleme

Dış

WMI sorunlarını giderme hakkında daha fazla bilgi için şuraya gidin: http://go.microsoft.com/fwlink/?LinkId=158224.

WMI Tanılama Yardımcı Programını ayrıca http://go.microsoft.com/fwlink/?LinkId=158226 adresinden de indirebilirsiniz. WMI Tanılama Yardımcı Programı, bilgisayardaki WMI hizmetinin geçerli durumunda sorun gidermenize yardımcı olmak için tasarlanmış bir VBScript betiğidir.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Operations Manager WMI olayları için WMI sorgusunu yürütemedi
{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>