Home Directory Plugins Cloud Local AD check for Azure AD Synchronization

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Local AD check for Azure AD Synchronization

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2020-01-31
Compatible With
  • Nagios 4.x
Owner
Hits
5596
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.