System Center Operations Manager 2007 generates alerts on Domain Controllers regarding incorrect script parameters with an alert context similar to the following:
Script Parameters are configured incorrectly And Invalid Script Parameter Configuration AD Replication Monitoring : detected an error with one or more parameters. The error is: InterSiteExpectedMaxLatency must be greater than the IntrasiteExpectedMaxLatency parameter. IntersiteExpectedMaxLatency = 15 IntrasiteExpectedMaxLatency = 30 IntersiteExpectedMaxLatency will be set to the value 90 for this execution of this script.
You also see an event with ID 66 in the Domain Controller's Operations Manager log:
Log Name: Operations Manager Source: Health Service Script Date: Event ID: 66 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: DC1.contoso.com Description: AD Replication Monitoring : detected an error with one or more parameters. The error is: InterSiteExpectedMaxLatency must be greater than the IntrasiteExpectedMaxLatency parameter. IntersiteExpectedMaxLatency = 15 IntrasiteExpectedMaxLatency = 30 IntersiteExpectedMaxLatency will be set to the value 90 for this execution of this script.
To correct the error, find the rule 'Script - AD Replication Monitoring' and from the response tab of its properties, edit the script and modify the parameter in question.
Though the alert context points us towards fixing the AD Replication Monitor and a script, the error occurs due to a rule that has incorrect values specified in the overrides.
To resolve this issue follow these steps:
Go to Authoring pane in the SCOM Admin Console.
Select Overrides under Management Pack Objects.
Look for overrides on "AD Replication is occurring slowly" rule.
In the list of overrides on 'AD Replication is occurring slowly' rule, check for overrides on Instrasite Expected Max Latency parameter. If the overridden value for this parameter is greater than the value of Intersite Expected Max Latency parameter, modify it to a lesser value.
By default Instrasite Expected Max Latency = 5 and Intersite Expected Max Latency = 15 and we can see that Intrasite value is lesser than Intersite value.
Once you change the override, click on OK.
Allow the configuration to be propagated to all the Domain Controllers. Slowly, you should stop receiving further alerts.