Appendix: Scripts

Applies To: Operations Manager 2007

AD LDS Management Pack Scripts

The scripts in the following table are included in this AD LDS Management Pack.

Script Purpose Rule/Task

MemoryUsage.vbs

Collects the amount of memory currently consumed by the AD LDS instance process.

DatabaseAndLogSize.vbs

Determines the size and the free space left in the database and the log file.

  • Database File Size

  • Database Drive Free Space

  • Log File Size

  • Log Drive Free Space

ReplicationMonitoring.vbs

Monitors the replication and verifies that replication is occurring and is operating within the latency thresholds.

  • Retrieve the Latency Objects Container

  • Perform per-instance replication checking

ADWS.vbs

Verifies that Active Directory Web Services is running.

ReplicationUpdateObject.vbs

Part of the replication monitoring mechanism and is used to inject changes into the directory.

  • Retrieve the Latency Objects Container

  • Update the Latency Object

ReplicationHelper1.vbs

Enables replication latency performance collection.

ReplicationHelper2.vbs

Enables replication latency performance collection.