Use this Knowledge Script to monitor the Active Directory read rate — the number of Active Directory reads per second. This script raises an event if the read rate exceeds the threshold you set.
If you use this script to collect data, you have three options for what is included in the data stream and data detail message:
One data stream that records the total read rate. The data detail message describes the percentage of Active Directory reads that are being performed by various services, such as DRA, KCC, LSA, NSPI, SAM, XDS, and NTDSAPI.
One data stream that records the total read rate, but without the detail message breakdown.
Separate data streams that track the total number of reads per second and the number of reads per second for various services such as DRA, KCC, LSA, NSPI, SAM, XDS, and NTDSAPI.
If you collect data, keep in mind that the more data streams and details you collect, the greater the impact on your database management system and overall system performance. For example, if you choose the third data collection option, consider adjusting your archive policies or check the size of data tables in the AppManager repository more frequently.
This script gathers the following Windows performance counter values for use in data collection and threshold monitoring:
Performance Objects |
Counters |
---|---|
NTDS DirectoryServices |
For monitoring, only the following counter is used to determine whether the threshold has been crossed and an event should be raised:
If data collection is enabled and data collection mode 1 or 3 is specified, values for the following counters are included in the data detail message:
|
Active Directory domain controller
The default interval for this script is Every 30 minutes.
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 ReadStat job fails. The default is 35. |
Monitor rate of read operations |
|
Event Notification |
|
Raise event if read rate exceeds threshold? |
Select Yes to raise an event if the read rate exceeds the threshold you set. The default is Yes. |
Threshold -- Maximum reads per second |
Specify the maximum number of Active Directory reads allowed per second before an event is raised. The default is 1 read per second. |
Event severity when read rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the read rate exceeds the threshold. The default is 20. |
Data Collection |
|
Collect data for read rate? |
Select Yes to collect data for charts and reports. If enabled, specify a value in the Data collection mode parameter. The default is unselected. |
Data collection mode |
Specify the type of data you want to collect. The following entries are valid:
The default is 1 (one data stream and detail message). |