Operations Manager AD Replication Monitoring generates "Invalid Script Parameter Configuration" error

Symptoms

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.

Cause

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.

Resolution

To resolve this issue follow these steps:
  1. Go to Authoring pane in the SCOM Admin Console.
  2. Select Overrides under Management Pack Objects.
  3. Look for overrides on "AD Replication is occurring slowly" rule.
  4. 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.
  5. 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.
  6. Once you change the override, click on OK.
  7. Allow the configuration to be propagated to all the Domain Controllers. Slowly, you should stop receiving further alerts.



Properties

Article ID: 2722619 - Last Review: Feb 23, 2015 - Revision: 1

Feedback