check_windows_repadmin
Beschreibung
Windows-Plugin: Überwacht die Replikation zwischen Domänencontrollern in Microsoft Active Directory.
Voraussetzungen
Active Directory Domain Controller mit repadmin.exe. Geplanter Task mit task_windows_repadmin.exe
Dokumentation & Syntax
Aufruf Syntax
check_windows_repadmin.exe Hilfe-Ausgabe (Optionen)
check_windows_repadmin - Version 1.3
Copyright (C) 2020-2026 LuftEngineering GmbH
Report Bugs to: development@luft-it.de
check_windows_repadmin plugin for monitoring. Monitors AD replication with repadmin.exe /replsummary
Usage:
path - Full Path to repadmin.exe (default: C:\Windows\system32\repadmin.exe)
tempfile - Path to tempfolder. Use same path with task_windows_repadmin (default: C:\Temp\repadmin.log)
outdated - Max age of repadmin logfile in minutes (default: 60)
timeout - Seconds before the plugin times out (default = 15)
version - Plugin version
help - Show this text
debug - Print details. NOT for use in production Installation & Einbindung
The plugin detects the status of all the replication partners and consists of two parts: the check itself and a task which has to be started every 5 – 60 minutes for writing log data. This task (task_windows_repadmin.exe) can be arranged through the Windows internal task scheduling for instance for an execution every 30 minutes. The log file which will be generated with the task will be analysed by the check. Requirements task_windows_repadmin Documentation First of all you need to set up the task for writing the log file. For this purpose we preferably use the task scheduling and generate a task which will be called every x Minutes. The minimum value is 5 minutes and the maximum 60 Minutes. The task task_windows_repadmin.exe in the standard settings uses the writing of the log file in C:\Temp under the data name repadmin.log With the use of the parameter tempfile you can overwrite it: task_windows_repadmin.exe tempfile= C:\Protokolle\Mein_Protokoll.log After set-up the tasks you need to check that the log file is writing in the given directory. Now you can start the check script which normally is called without any more details
Beispiel Konfiguration (NSC.ini / nsclient.ini)
check_repadmin = scripts\check_windows_repadmin.exe