[Pkg-nagios-devel] Bug#865403: Bug#865403: monitoring-plugins-basic: check_ntp fails with stretch version of ntpd
Bas Couwenberg
sebastic at xs4all.nl
Wed Jun 21 06:48:44 UTC 2017
On 2017-06-21 08:42, Christoph Biedl wrote:
> Bas Couwenberg wrote...
>
>> On 2017-06-21 08:18, Christoph Biedl wrote:
>> > LANG=C /usr/lib/nagios/plugins/check_ntp -4 -H $server -w 0.5 -c 0.8
>>
>> check_ntp has been deprecated for many years now, you should be using
>> check_ntp_time & check_ntp_peer instead.
>>
>> Does the issue also occur with those?
>
> Quick check, just replacing check_ntp with one these:
>
> * check_ntp_peer sends a NTPv2 package, no reply from the server.
> * check_ntp_time: Same as with check_ntp, works with a jessie ntpd,
> fails with a stretch ntpd.
This is from a stretch system:
$ /usr/lib/nagios/plugins/check_ntp_peer -H localhost -v
3 candidate peers available
synchronization source found
Getting offset, jitter and stratum for peer d53
parsing offset from peer d53: 0.000473
NTP OK: Offset 0.000473 secs|offset=0.000473s;60.000000;120.000000;
Does your /etc/ntp.conf include the IP for your monitoring system to
allow it to interrogate the ntp server more closely?
Kind Regards,
Bas
More information about the Pkg-nagios-devel
mailing list