check_ntp_peer parsing error

Holger Weiß holger at cis.fu-berlin.de
Sat Jun 29 16:01:55 CEST 2013


JFTR:

* Marc Haber <mh+nagios-users at zugschlus.de> [2013-06-26 21:22]:
> I have a system running Debian oldstable with Nagios-Plugins 1.4.15. A
> few weeks ago, my check_ntp_peer checks have started acting up:
> 
> $ /usr/lib/nagios/plugins/check_ntp_peer --hostname=2001:1b18:f:4::2 --warning 3 --critical 5 --jwarn 10 --jcrit 20 --twarn 2: --tcrit 3: --swarn 2 --scrit 2 -v
> 3 candidate peers available
> synchronization source found
> Getting offset, jitter and stratum for peer e20a
> parsing offset from peer e20a: error: unable to read server offset response.
> parsing jitter from peer e20a: error: unable to read server jitter/dispersion response.
> parsing stratum from peer e20a: error: unable to read server stratum response.
> NTP CRITICAL: Offset unknown, jitter=-1,000000, stratum=-1, truechimers=6| jitter=-1,000000;10,000000;20,000000;0,000000 stratum=-1;2;2;0;16 truechimers=6;0;0;0

This is probably caused by a bug in Force10 switches mentioned here:

http://news.ntppool.org/2013/06/ipv6-monitoring-problems-for-g.html

Due to that bug, the check_ntp_peer requests got duplicated on their way
to the server, and the server therefore sent multiple responses per
request.  check_ntp_peer then stumbled over those duplicated responses.
That's a bug, I'll fix it later today.

Thanks to Marc for providing tcpdump output and for his help with
tracking the issue down.

Holger

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list