Freeware and Plugins

Freewaregruppe Monitoring/Nagios-Plugins

check_w32tm

Windows-Plugin: checks the Windows system time against an NTP time source

Description

check_w32tm is a Windows plugin for Nagios, which checks the Windows system time against an NTP time source.

Requirements

Windows-Tool w32tm.exe

Documentation

Usually you run the plugin with the comparative NTP source:

C:> check_w32tm.exe host=<NTP-Source>

For debugging purposes, it may also be called with a more detailed output option (this mode is not suitable for continuous operation, but for testing purposes only).

Afterwards it will output the detailed status of the individual components:

C:> check_w32tm.exe host=ptbtime1.ptb.de debug

For information on the plugin and its usage you can call it with the help command:

C:> check_w32tm.exe help

Installation

Preferably the plugin is copied into the script directory where you will store your checks under Windows.

When using NSClient ++ use an entry in NSC.INI similar to this, is generated and pointed to check_w32tm:

Examples

Checking the set time, excessive deviation:

C:> check_w32tm.exe host=ptbtime1.ptb.de

Changelog

2016-06-10
1.5 – Support for german (and english) Server OS

2015-11-02
1.4 – Support for .Net 4.5

2014-20-10
1.3 – Add RegEx to find TimeDiff in output and add perf data

2014-11-07
1.2 – Support for czech OS

2014-06-07
1.1 – Support for .Net 3.5 and 64 bit OS

2012-21-01
1.0 – First public version

Copyright

check_w32tm is licensed under the GNU General Public License.

Author

Joachim Luft will answer your questions to this plugin and is happy about your donation.

 

Freeware name

check_w32tm

  • System: Nagios Plugins und Addons
  • Date: 06.October 2016
  • Author: Joachim Luft
  • Version: 1.5

Category: Monitoring/Nagios-Plugins

Tags: Windows-Plugin

Download