Nie można wykonać testu opartego na skrypcie Liczba partnerów replikacji usługi AD

AD_Replication_Partner_Count_Script_Based_Test_Failed_to_Complete (Rule)

Knowledge Base article:

Podsumowanie

Wystąpił błąd skryptu monitorującego „Liczba partnerów replikacji usługi AD”. Nie można pomyślnie ukończyć skryptu. Zapoznaj się z dodatkowymi informacjami w szczegółach alertu.

Jeżeli napotkany błąd to „Składnik ActiveX nie może utworzyć obiektu”, oznacza to, że składniki obiektów pakietu administracyjnego Active Directory (OOMADs) nie zostały zainstalowane na kontrolerze domeny. Ich instalacja jest wymagana do pomyślnego działania skryptów monitorujących.

Rozwiązania

Zapoznaj się z dodatkowymi informacjami w szczegółach alertu i poszukaj związanych z nim kodów błędów.

Jeżeli błąd jest związany z brakiem obiektów pakietu administracyjnego Active Directory (OOMADs), zainstaluj plik OOMADs.msi na kontrolerze domeny.

Zewnętrzne

Element properties:

TargetMicrosoft.Windows.Server.2008.AD.DomainControllerRole
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableFalse
Alert Message
Nie można wykonać testu opartego na skrypcie
{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_Replication_Partner_Count_Script_Based_Test_Failed_to_Complete" Enabled="onStandardMonitoring" Target="AD2008Core!Microsoft.Windows.Server.2008.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<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 Replication Partner Count</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(1000)$</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_Replication_Partner_Count_Script_Based_Test_Failed_to_Complete.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>