[Nagiosplug-help] check_ntp
Andreas Ericsson
ae at op5.se
Thu Jul 15 01:58:05 CEST 2004
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,
in which case stratum should be 16 and not 3. I'm not sure the stratum
check is done in the plugin code.
--
Sourcerer / Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se
More information about the Help
mailing list