Cloud

Local AD check for Azure AD Synchronization

Description:

A simple script which checks the local server that Azure AD Connect runs on for the following:

* Time since successful synchronization with Azure AD
* Time since successful password synchronization with Azure AD
* Errors in event log indicating problems with synchronization

Parameters:
1: [Int] $allowedMinutesSinceSync (Default: 90): Time (in minutes) since last successful synchronization before a critical alert is raised.
2: [bool] $disableOutput (Default: $false): Toggles the status of $disableOutput and determines whether the script should generate any output.
3: [bool] $checkPasswordSync (Default: $true) Toggles whether password synchronization is synchronized between local AD and AAD.

The checks are performed using the following powershell commands:
* Get-ADSyncPartitionPasswordSyncState
* Get-ADSyncScheduler
* Get-WinEvent

The script has only been tested using NSClient++ on Windows 2016 servers and Nagios Core 4.4.5 and the check_nrpe command.

Current Version

1.0

Last Release Date

2020-01-31

Compatible With

  • Nagios 4.x

Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
5,597