<div dir="ltr"><div>Package: nagios-plugins-basic<br>Version: 1.4.16-1<br>Severity: important<br>Tags: upstream patch<br><br>Dear Maintainer,<br><br>After hardening the ntp configuration, I noticed that the nagios check was<br>no longer functioning. The line I added to ntp.conf was:<br>   restrict default limited kod nomodify notrap nopeer noquery<br><br>The culprit turned out to be the 'kod' option in the restrict line.<br><br>The nagios check does not understand the contents of the 'KoD' package and<br>only reports that the server stratum is 0. Which is part of the KoD packet.<br><br></div>I created a patch to deal with this situation. The patch is in the attachment.<br><br>-- System Information:<br>Debian Release: 7.5<br>  APT prefers stable<br>  APT policy: (990, 'stable')<br>Architecture: i386 (i686)<br><br>Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)<br>Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)<br>Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages nagios-plugins-basic depends on:<br>ii  iputils-ping           3:20101006-1+b1<br>ii  libc6                  2.13-38+deb7u1<br>ii  libssl1.0.0            1.0.1e-2+deb7u11<br>ii  nagios-plugins-common  1.4.16-1<br>ii  procps                 1:3.3.3-3<br>ii  ucf                    3.0025+nmu3<br><br>nagios-plugins-basic recommends no packages.<br><br>Versions of packages nagios-plugins-basic suggests:<br>pn  nagios3 | icinga  <none><br><br>-- no debconf information<br></div>