Monitoring-Plugins Version 1.7

check_regkey

Beschreibung

Windows-Plugin: Prüft Existenz und Wert eines definierten Windows Registry-Keys.

Voraussetzungen

Windows Server mit NSClient++.

Dokumentation & Syntax

Aufruf Syntax

check_regkey.exe /key:<key_path> /value:<expected_val>

Hilfe-Ausgabe (Optionen)

check_regkey - Revision: 1.7
Copyright (C) 2016-2026 LuftEngineering GmbH
Report Bugs to:development@luft-it.de

check_regkey plugin for monitoring. Monitors Windows Registry values

Usage:
    key       - Full path to registry key (required)
    subkey    - Full name of subkey (required)
    value     - Expected value of subkey
    warnvalue - value with warning returncode
    critvalue - value with critical returncode
    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

In Monitoring Plugin Verzeichnis einfügen.

Beispiel Konfiguration (NSC.ini / nsclient.ini)

check_regkey = scripts\check_regkey.exe /key:... /val:1

Ausführungsbeispiele

$ check_regkey key=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicing subkey=UEFICA2023Status value=Updated warnvalue=InProgress critvalue=NotStarted
OK: Reg value matches expected value: Updated

Details & Metadaten

Kategorie Monitoring-Plugins
Version v1.7
Stand / Datum 09.02.2026
Autor Joachim Luft
Lizenz siehe COPYING.txt