Nagios NTP synchronization check
This script is intended to be called via a Nagios (or Nagios-based) monitoring system, probably via NRPE.
check_ntp_time.pl <-H ntpserver> <-w warnlevel> <-c critlevel> ###Options:
-H ntpserver | Hostname or IP address of the ntp server |
-w seconds | Difference in seconds from the ntpserver clock and the server clock which the plugin will emit a warning alarm - Default = 150 seconds (above or below) |
-c seconds | Difference in seconds from the ntpserver clock and the server clock which the plugin will emit a critical alarm - Default = 300 seconds (above or below) |
Please see the Github page. Happy to accept pull requests! If the module don't do what you want, please explain your use case.
check_ntp_time.pl was posted by Antonio Evangelista to the Nagios Exchange at http://exchange.nagios.org/directory/Plugins/System-Metrics/Time/check_ntp_time-2Epl/details.
Original Copyright (C) 2011 Antonio Fernando Evangelista