GitHub

The check_ntp Plugin

check_ntp v2.2.git (monitoring-plugins 2.2)
Copyright (c) 2006 Sean Finney
Copyright (c) 2006-2008 Monitoring Plugins Development Team
    <devel@monitoring-plugins.org>

This plugin checks the selected ntp server

WARNING: check_ntp is deprecated. Please use check_ntp_peer or
check_ntp_time instead.

Usage:
 check_ntp -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-4|-6] [-v verbose]

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 --extra-opts=[section][@file]
    Read options from an ini file. See
    https://www.monitoring-plugins.org/doc/extra-opts.html
    for usage and examples.
 -H, --hostname=ADDRESS
    Host name, IP Address, or unix socket (must be an absolute path)
 -p, --port=INTEGER
    Port number (default: 123)
 -4, --use-ipv4
    Use IPv4 connection
 -6, --use-ipv6
    Use IPv6 connection
 -w, --warning=THRESHOLD
    Offset to result in warning status (seconds)
 -c, --critical=THRESHOLD
    Offset to result in critical status (seconds)
 -j, --jwarn=THRESHOLD
    Warning threshold for jitter
 -k, --jcrit=THRESHOLD
    Critical threshold for jitter
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)
 -v, --verbose
    Show details for command-line debugging (output may be truncated by
    the monitoring system)

Notes:
 See:
 https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
 for THRESHOLD format and examples.

Examples:
 Normal offset check:
  ./check_ntp -H ntpserv -w 0.5 -c 1

 Check jitter too, avoiding critical notifications if jitter isn't available
 (See Notes above for more details on thresholds formats):
  ./check_ntp -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200

Send email to help@monitoring-plugins.org if you have questions regarding
use of this software. To submit patches or suggest improvements, send email
to devel@monitoring-plugins.org

WARNING: check_ntp is deprecated. Please use check_ntp_peer or
check_ntp_time instead.