[Pkg-nagios-devel] Bug#865403: Bug#865403: monitoring-plugins-basic: check_ntp fails with stretch version of ntpd

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Wed Jun 21 22:34:52 UTC 2017


Bas Couwenberg wrote...

>  $ /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;

Eh, don't try on localhost - ntp in the default configuration grants
that address more rights.

> Does your /etc/ntp.conf include the IP for your monitoring system to allow
> it to interrogate the ntp server more closely?

Adding the monitoring system's IP as another "restrict" item in
/etc/ntp.conf is indeed a workaround. Not a solution, though.

    Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20170622/ac09a85e/attachment.sig>


More information about the Pkg-nagios-devel mailing list