check_ntp_time

Posted by tonvoon on 20 January 2012 - 12:51pm

check_ntp_time v1.4.15-34-gd287 (nagios-plugins 1.4.15)
Copyright (c) 2006 Sean Finney
Copyright (c) 2006-2008 Nagios Plugin Development Team
<nagiosplug-devel@lists.sourceforge.net>

This plugin checks the clock offset with the ntp server

Usage:
check_ntp_time -H <host> [-w <warn>] [-c <crit>] [-v verbose]

Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-H, --hostname=ADDRESS
Host name, IP Address, or unix socket (must be an absolute path)
-p, --port=INTEGER
Port number (default: 123)
-q, --quiet
Returns UNKNOWN instead of CRITICAL if offset cannot be found
-w, --warning=THRESHOLD
Offset to result in warning status (seconds)
-c, --critical=THRESHOLD
Offset to result in critical status (seconds)
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
-v, --verbose
Show details for command-line debugging (Nagios may truncate output)

This plugin checks the clock offset between the local host and a
remote NTP server. It is independent of any commandline programs or
external libraries.

Notes:
If you'd rather want to monitor an NTP server, please use
check_ntp_peer.

See:
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFOR...
for THRESHOLD format and examples.

Examples:
./check_ntp_time -H ntpserv -w 0.5 -c 1

Send email to nagios-users@lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel@lists.sourceforge.net