Skip to content

Script Info: Test ADReplication

Mike Kanakos edited this page Apr 19, 2019 · 1 revision

SYNOPSIS

Monitor AD Replication

DESCRIPTION

This script monitors DCs for Replication Failures. 

Script Type:

This script runs from a source server and looks for replication failure by parsing the output of 'Get-ADReplicationFailure.' If the error count is higher than the defined limit, an alert will be generated.

Connection type:

PowerShell ActiveDirectory Module

Automatic repair option:

N/A

EventID Definitions:

17020 - Failure
17021 - Beginning of test
17022 - Testing individual systems
17023 - End of test
17024 - Alert Email Sent

Alert Cleared Notice

The script will query the local Event log for failure event codes in the past 1 hour. If there was a previous failure, but the test succeeds on the current run, an alert will be sent that the previously seen errors have been cleared.

Currently Configured Output Options:

Event Log
Email

NOTES

Authors: Mike Kanakos, Greg Onstot

Clone this wiki locally