AD 客户端连接 - 基于 AD 客户端脚本的测试未能完成

AD_Client_Connectivity_AD_Client_Side_Script_Based_Test_Failed_to_Complete (Rule)

Knowledge Base article:

摘要

AD 客户端连接监视器无法成功完成所需的测试。 有关更多信息,请查看警报详细信息。

如果遇到的错误是“ActiveX 组件无法创建对象”,则表示未在域控制器上安装监视脚本成功运行所需的 Active Directory 管理包对象 (OOMAD) 组件。

配置

可能的原因:

•没有可用的域控制器

•网络连接问题

•域名系统 (DNS) 解析问题

解决方案

有关更多信息,请查看警报详细信息并查找相关错误代码。

如果错误与缺少 Active Directory 管理包对象 (OOMAD) 有关,请在域控制器上安装 OOMADs .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_Connectivity_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 Connectivity</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_Connectivity_AD_Client_Side_Script_Based_Test_Failed_to_Complete.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>