Version 1

    This template allows you to monitor Active Directory replication.

    Prerequisites: WinRM configured on the target server.

    Credentials: Target domain controller administrator.

    Components Monitors

    Active Directory Replication

    This component returns the number of hours passed since the last replication between two Domain Controllers. This monitor also returns the number of replication errors.

    Note: Before using this monitor, the correct arguments should be provided:

      domain_name – Full name of replicated domain. Example:
    source_DC – Hostname of source replication Domain Controller. Example: dc1
    target_DC – Hostname of target replication Domain Controller. Example: dc2

    Below is an example using the Scripts Arguments field:,dc1,dc2


    To determine the correct arguments, run the following PowerShell command on the target computer:
    repadmin /showrepl * /csv | ConvertFrom-Csv


    The required information for the arguments can be found in the Naming Context, Source DSA and Destination DSA variables. If you have domain, you should look for output with the following: “Naming Context”:         DC=mydomain,DC=mycorp,DC=com


    Configuring Windows Remote Management (WinRM)

    1. If not already done so, install PowerShell 2.0 and WinRM on the SAM and target servers. Powershell 2.0 can be found here:
    2. On the SAM server, open a command prompt as an administrator. To do this, perform the following step:
    • Go to the Start menu and right-click the cmd.exe and then select Run as Administrator.
    1. Enter the following in the command prompt:
             winrm quickconfig
      winrm set winrm/config/client @{TrustedHosts="*"}
    2. 4.     On the target server, open a command prompt as an Administrator and enter the following:
             winrm quickconfig
      winrm set winrm/config/client @{TrustedHosts="IP_ADDRESS"}

    where IP address is the IP address of your SAM server.

    Last updated 1/8/2015