Monitoring Active Directory

Install the dcdiag program

Install the dcdiag.exe program from the Windows Server 2003 Support Tools.

Links:

Tip - dcdiag.exe is already included in Windows 2008.

Install NSClient++

See Monitoring windows with NSClient++.

Make sure the module CheckExternalScripts.dll is enabled in NSC.ini

Install check_ad wrapper

check_ad home page: http://www.itefix.no/i2/check_ad

The wrapper call dcdiag.exe and return the result.

Copy the check_ad.exe program into c:\Program Files\NSClient++\scripts\.

The program is in the check_ad-1.4.zip package.

Check command definition

Add check definition to the [External Scripts] section in NSC.ini, like:

[External Scripts]
...
check_ad=scripts\check_ad.exe --dc --noeventlog

Nagios command defintion:

$USER1$/check_nrpe -u -H $HOSTADDRESS$ -p $ARG1$ -c check_ad

Sample output:

AD OK - Connectivity OK, Services OK, Replications OK, Advertising OK, Fsmo OK, Rid Manager OK, Machine account OK, FRS Sysvol OK

nagios/monitoring_active_directory.txt · Last modified: 2011-02-08 15:45 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0