Use this Knowledge Script to monitor the number of failed Active Directory replication synchronization requests from the target server. This script raises an event if the number of synchronization requests that fail per second exceeds the threshold you set.
This script gathers the following Windows performance counter values for use in data collection and threshold monitoring:
Performance Objects |
Counters |
---|---|
NTDS DirectoryServices |
The following counters are used to determine the number of failed sync requests:
|
The number of failed sync requests is calculated using the following formula:
DRA Sync Requests Made - DRA Sync Requests Successful
The number of failed sync requests for the current iteration is computed by subtracting the number of failed sync requests at the previous iteration. The percentage of failed synchronization requests since the past iteration is computed and used for threshold comparison.
Active Directory domain controller
The default interval for this script is Every hour.
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 SyncRequest job fails. The default is 35. |
Monitor synchronization failure rate? |
|
Event Notification |
|
Raise event if sync failure rate exceeds threshold? |
Select Yes to raise an event if the sync failure rate exceeds the threshold you set. The default is Yes. |
Threshold -- Maximum sync failure rate |
Specify the maximum percentage of synchronization requests that can have failed since the last script iteration before an event is raised. The default is 90%. |
Event severity when sync failure rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the sync failure rate exceeds the threshold. The default is 20. |
Data Collection |
|
Collect data for synchronization failures? |
Select Yes to collect data for charts and reports. If enabled, data collection returns:
The default is unselected. |