check_ntp
Posted by tonvoon on 3 July 2008 - 12:46am
check_ntp v1991 (nagios-plugins 1.4.12)
Copyright (c) 2006 Sean Finney
Copyright (c) 2006-2008 Nagios Plugin Development Team
<nagiosplug-devel@lists.sourceforge.net>
This plugin checks the selected ntp server
WARNING: check_ntp is deprecated. Please use check_ntp_peer or
check_ntp_time istead.
Usage: check_ntp -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <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)
-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 (Nagios may truncate output)
Notes:
See:
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFOR...
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 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
WARNING: check_ntp is deprecated. Please use check_ntp_peer or
check_ntp_time istead.
- Printer-friendly version
- Login or register to post comments