3.40 ReplicationCheckByUSN

Use this Knowledge Script to monitor Active Directory replication by checking Update Sequence Numbers (USN). This script checks whether replication is occurring by comparing the domain controller’s update sequence number at each interval with its value during the previous monitoring interval.

If the highest USN on the local domain controller has not been incremented between iterations, that replication is probaby not proceeding properly, and an event is raised. Because multimaster replication among peer domain controllers is such an important part of Active Directory, consider setting the job interval to run this script at least every five to ten minutes in active organizations where you make more frequent changes to Active Directory objects. If the job interval is too short, for example running every few seconds, you might raise false events.

NOTE:To use this script, specify server in the Classes to include parameter of the Discovery_ActiveDS Knowledge Script.

3.40.1 Resource Objects

Active Directory domain controller

3.40.2 Default Schedule

The default interval for this script is Every 30 minutes.

3.40.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

General Settings

Raise event if job fails

Event severity when job fails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the ReplicatonCheckByUSN job fails. The default is 35.

Monitor Active Directory replication by USN

Event Notification

Raise event if USN not incremented?

Select Yes to raise an event if the USN has not incremented since the last monitoring interval. The default is Yes.

Event severity when USN not incremented

Set the severity level, from 1 to 40, to indicate the importance of an event in which the USN has not incremented since the last monitoring interval. The default is 5.

Data Collection

Collect data for replication status?

Select Yes to collect data for charts and reports. If enabled, data collection returns:

  • 100 -- replication is successful, or

  • 0 -- the USN has not been updated and replication appears to be stale

The default is unselected.