check_ntp

Hugh Jones hugh.jones at eduserv.org.uk
Tue Sep 7 10:52:39 CEST 2004


As a (temporary) get around, we've installed ntpstat from
http://people.redhat.com/rkeech/ and called it using nrpe as it
correctly returns the error codes without any extra work. It may be of
help in the meantime, anyway...

Hugh Jones

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Andreas Ericsson
> Sent: 07 September 2004 09:32
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_ntp
> 
> 
> Leif Nixon wrote:
> > "C. Bensend" <benny at bennyvision.com> writes:
> > 
> > 
> >>>The plugin considers an zero offset to be erroneous. I 
> don't know why.
> >>
> >>Check the archives; there was a lively discussion about 
> exactly this a
> >>month or two ago.
> > 
> > 
> > I know. We never did get that detail sorted.
> > 
> 
> check_ntp thinks an offset of 0 is erroneous because many ntp 
> servers by 
> default fetches time from the local system if it can't connect to the 
> preferred NTP server. A 'true' offset of 0 (where time is actually 
> compared to that of its higher stratum server) is very, very 
> rare. It is 
> more likely the result of imprecise system calls than the real status.
> 
> Nevertheless, it does happen (for one reason or another), so 
> it would be 
> nice to add an argument to skip it complaining about this. I'll get 
> going on that anyday now. ;-)
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> 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
> 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
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