Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check Azure Active Directory Connect status and last replication.
Current Version
1.0
Last Release Date
2018-02-08
Owner
Juan Granados
Website
https://github.com/juangranados/nagios-plugins
Download URL
https://raw.githubusercontent.com/juangranados/nagios-plugins/master/check_azureadconnectsync.ps1
License
GPL
Compatible With
DESCRIPTION Check Azure AD Connect Sync status and returns Nagios output and code.
PARAMETER Hours Hours since the last synchronization. Default: 3
OUTPUTS * OK: Azure AD Connect Sync sync cycle enabled and synced within last -Hours. * WARNING: Azure AD Connect Sync sync cycle enabled and not synced within last -Hours. * CRITICAL: Azure AD Connect Sync sync cycle not enabled.
Plugin Output Example:
OK: Azure AD Connect Sync is up and running. Server is in active mode. Latest heart beat event (within last 2 hours). Time 02/08/2018 11:33:48.
I successfully tested the script on Windows Server 2022 and Nagios Core 4.3.4. The script shows the correct synchronization status of Azure AD Connect.
You must be logged in to submit a review.
To:
From: