3.7 DatabaseSize

Use this Knowledge Script to monitor logical disk space used by the Active Directory database file on a domain controller. This script monitors the percentage of disk space used and the database size (in MB). In addition, this script raises an event if the percentage of logical disk space used exceeds the threshold you set.

Lack of disk space prevents password changes and user adds and deletes, and causes many other problems. Correcting an out-of-disk space situation may involve adding hardware, moving the database to a different drive, or both. Both of these tasks involve extended outages.

WARNING:If multiple domain controllers suddenly alert to database growth problems, a replication storm may be occurring. Multiple DCs all running out of disk space concurrently can disable the entire company and be extremely costly and time-consuming to fix.

3.7.1 Resource Objects

Active Directory domain controller

3.7.2 Default Schedule

The default interval for this script is Every 15 minutes.

3.7.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 DatabaseSize job fails. The default is 35.

Monitor database size

Event Notification

Raise event if disk space usage exceeds threshold?

Select Yes to raise an event if disk space usage exceeds the threshold you set. The default is Yes.

Threshold -- Maximum percentage of disk space used

Specify the maximum percentage of logical disk space that can be used by the Active Directory database file before an event is raised. The default is 80%.

Event severity when disk space usage exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which disk space usage exceeds the threshold. The default is 5.

Data Collection

Collect data for database disk space usage?

Select Yes to collect data for charts and reports. If enabled, data collection returns the percentage of disk space used by the database. The default is unselected.

Collect data for database size?

Select Yes to collect data for charts and reports. If enabled, data collection returns the size of the database (in MB). The default is unselected.

Tip Consider enabling data collection if you are planning to migrate data to your Active Directory domain or to add large numbers of objects, such as users or computers.