AD 用戶端 GC 可用性 - AD 用戶端 - 指令碼測試無法完成

AD_Client_GC_Availability_AD_Client_Side_Script_Based_Test_Failed_to_Complete (Rule)

Knowledge Base article:

摘要

AD 用戶端 GC 可用性監視無法成功完成必要測試。 請檢閱警示詳細資料以取得其他資訊。

如果遇到的錯誤是「ActiveX 元件無法建立物件」,這表示成功執行監視指令碼所需的 Active Directory 管理組件物件 (OOMAD) 元件未安裝在網域控制站上。

設定

可能的原因:

• 無可用的網域控制站

• 網路連線發生問題

• 網域名稱系統 (DNS) 解析發生問題

解決方式

請檢閱警示詳細資料以取得其他資訊並查找相關錯誤碼。

如果錯誤與遺失的 Active Directory 管理組件物件 (OOMAD) 有關,請在網域控制台上安裝 OOMAD.msi。

外部

Element properties:

TargetMicrosoft.Windows.Server.AD.ClientPerspective
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableFalse
Alert Message
AD 用戶端 - 指令碼測試無法完成
{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="AD_Client_GC_Availability_AD_Client_Side_Script_Based_Test_Failed_to_Complete" Target="AD!Microsoft.Windows.Server.AD.ClientPerspective" Enabled="onStandardMonitoring" Remotable="false">
<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>Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>AD Client GC Availability</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(5001)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="AD_Client_GC_Availability_AD_Client_Side_Script_Based_Test_Failed_to_Complete.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>