Monitoring-Plugins Version 1.5

check_lastupdate

Beschreibung

Windows-Plugin: Führt einen vergleichenden Datums-Check auf einen definierten Registry-Key aus.

Voraussetzungen

Windows Server mit NSClient++.

Dokumentation & Syntax

Aufruf Syntax

check_lastupdate.exe /key:<regkey> /w:<days> /c:<days>

Hilfe-Ausgabe (Optionen)

check_lastUpdate - 1.5
Copyright (C) 2011-2026 LuftEngineering GmbH
Report Bugs to:info@luft-it.de

check_lastUpdate plugin for monitoring. Monitors the last update of a Service

Usage:
     path     - Full Path in registry (required)
     date     - Date of last software update (default=01.01.1970)
     and      - An other Regkey to be checked
     less     - Value of 2nd Regkey should be less then this value
     equal    - Value of 2nd Regkey should be equal to this value
     greater  - Value of 2nd Regkey should be greater then this value
     warning  - Waring threshold for last update time in houres (default=24)
     critical - Critical threshold for last update time in houres (default=48)
     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_lastupdate = scripts\check_lastupdate.exe /key:... /w:1 /c:2

Ausführungsbeispiele

$ check_lastupdate.exe /key:HKLM\Software\Backup /w:1 /c:2
OK: Registry Key timestamp is 4 hours old.

Details & Metadaten

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