Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This powershell plugin for the NSCP Client (former known as NSClient++) can be used to monitor the replication (and performance counters) from a Microsoft ActiveDirectory Domain Controller based on Windows 2008 / 2008 R2 / 2012 / 2012 R2.
Current Version
1.1
Last Release Date
2016-03-20
Owner
BastianW
Website
http://www.admin-enclave.com/en/nagios-monitoring.html
License
GPL
Compatible With
This plugin monitors the domain controllers replication status with its neighbors and if the number of consecutive sync failures will be '0' (means there is no error during replication) it collects performance counters from the DRA (directory replication agent). If the sync error value is greater than '1' for any partition for any neighbor, an error will be flagged and the failed neighbor will be reported to nagios and an additional email is send out to a system administrator with more infos. Installation / Usage: See comment inside the powershell (*.ps1) script Howto use: If you are new to an Nagios & NSCP Setup you can check our the following howto: http://www.admin-enclave.com/en/articles/linux/287-nagios-core-3-x-installation-guide-on-debian-8-x-jessie.html
thanks, works fine on my Windows 2012 R2 DC.
So far, so good - I'll need to see if it will actually produce an error with replication, but I wanted to respond to the 'get-object' issue. I also ran into that, but only on some servers. The cause? Missing NTDS performance counters. If you check the counters list on a working server, you see NTDS. If you check a non-working server, NTDS is missing. Note that 'DirectoryServices' contains the same counters. The fix for me was as follows: 1. Export this key from the working DC: HKLMSYSTEMCurrentControlSetServicesNTDSPerformance 2. Import to the non-working DC. 3. Run: lodctr /R 4. Test Some links... * http://answers.splunk.com/answers/55409/not-receiving-performance-for-a-dc * http://thwack.solarwinds.com/thread/58475
Thanks a lot for this script!
Hello, Thanks for this very good script. It works perfectly for most of my servers, except for some one with whom the execution of the script return me an error. Get-Counter : The specified object was not found on the computer. At C:NagiosMonitoringNagiosMonitoring_AD_ReplicationCheck.ps1:208 char:41 + $strDRAInboundBytesTotal = (Get-counter g_AD_ReplicationCheck.ps1:208 char:135 + $strDRAInboundBytesTotal = (Get-counter -ComputerName $env:computername -Counter "NTDSDRA Inbound Bytes Total/s ec").countersamples[
Works like a charm on Windows Server 2012
You must be logged in to submit a review.
To:
From: