NTP Warning in Nagios

Josiah Ritchie jritchie at bible.edu
Thu Oct 14 17:15:06 CEST 2004


On Thu, 14 Oct 2004 10:56:23 -0400
"Marr, Joe" <jmarr at brodart.com> wrote:

> This may be a silly question, so let me apologize in advance.
> 
>  
> 
> How do I resolve the following NTP error?
> 
>  
> 
> NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec 

The easiest would be to just set your -j and -k params appropriately, or
setup and synchronize related computers regularly to an ntp server, which
I'm assuming you are doing.

See the help dialog below:

[penguin 2] root > /usr/nagios/libexec/check_ntp -h
check_ntp (nagios-plugins 1.3.1) 1.14.2.3
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 2003 Bo Kersey/Karl DeBisschop

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

Checks the local timestamp offset versus <host> with ntpdate
Checks the jitter/dispersion of clock signal between <host> and its
sys.peer with ntpq

-w ( --warning)
     Clock offset in seconds at which a warning message will be generated.
        Defaults to 60.
-c (--critical) 
     Clock offset in seconds at which a critical message will be generated.
        Defaults to 120.
-j (--jwarn)
     Clock jitter in milliseconds at which a warning message will be
generated.        Defaults to 5000.
-k (--jcrit)
    Clock jitter in milliseconds at which a warning message will be
generated.        Defaults to 10000.
    
    If jitter/dispersion is specified with -j or -k and ntpq times out,
then a    warning is returned.
Send email to nagios-users at lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel at lists.sourceforge.net

JSR/


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list