[Nagiosplug-help] check_ntp

Leif Nixon nixon at nsc.liu.se
Thu Jul 15 05:23:07 CEST 2004


Andreas Ericsson <ae at op5.se> writes:

> Leif Nixon wrote:
>> Brian Ipsen <bipsen-sender-67dee9 at andebakken.dk> writes:
>>
>>> Using check_ntp on a host, I sometimes get a critical notification:
>>>
>>>NTP CRITICAL: server 192.168.0.178, stratum 3, offset 0.000000, delay
>>>0.02563
>>>
>>>And when it returns to normal:
>>>
>>>NTP OK: Offset -0.000001 secs, jitter 0.288 msec, peer is stratum 2
>>>
>>>The offset is not out of range (suning defaults), but is it the missing
>>>jitter-information, that causes the plugin to return critical condition ?
>> The NTP plugin considers an offset of exactly 0 to be "probably
>> bogus", according to comments in the code.
>> I have no idea why.
>>
>
> Because NTP should only have zero offset if run against the local
> host, [...]

Are you sure of that? Doesn't it just mean that the current estimate
of the local clock error is zero, i.e. that the local clock happens to
indicate the correct time? That does happen now and then.

-- 
Leif Nixon                                    Systems expert
------------------------------------------------------------
National Supercomputer Centre           Linkoping University
------------------------------------------------------------




More information about the Help mailing list