[Nagiosplug-devel] [ nagiosplug-Patches-684818 ] check_ntp regex for ntpq fails for stratum1 peer

Marc C. Poulin mcp at jawfish.com
Wed Feb 12 14:46:09 CET 2003


I also see refids of .USNO. (tick.usno.navy.mil) and .ACTS.
(time-b.nist.gov) for stratum 1 servers (- these should probably be added
to the regex.
Thanks,
Marc


SourceForge.net said:
> Patches item #684818, was opened at 2003-02-11 13:54
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=397599&aid=684818&group_id=29880
>
> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 7
> Submitted By: Subhendu Ghosh (sghosh)
> Assigned to: Subhendu Ghosh (sghosh)
> Summary: check_ntp regex for ntpq fails for stratum1 peer
>
> Initial Comment:
> Check_ntp (v1.12) fails to recognize the refid of a
> Stratum 1 peer.
>
> Need top patch line 254 to recognize WWV/PPS/GPS in
> addition to ip addresses.
>
>
>
>>From - "Michael Jewett" <mgj AT unb.ca>
>
>> ./check_ntp -H xxx.xxx.xxx.xxx -v
>> server xxx.xxx.xxx.xxx, stratum 2, offset 0.005577,
> delay 0.02592
>> ntperr = 0
>> 11 Feb 14:06:39 ntpdate[11392]: adjust time server
> 131.202.3.20 offset
>> 0.005577 sec
>> ntperr = 0
>>      remote           refid      st t when poll reach
>   delay   offset
>> jitter
>>
> ============================================================================
>> ==
>>  192.68.54.20    0.0.0.0         16 -    - 1024    0
>    0.000    0.000
>> 16000.0
>>  198.164.163.107 0.0.0.0         16 -    - 1024    0
>    0.000    0.000
>> 16000.0
>> x128.118.46.3    .WWV.            1 u  510 1024  377
>   79.120  -36.329
>> 1.130
>> +128.118.25.3    192.5.41.209     2 u  470 1024  377
>   79.150   -0.815
>> 0.980
>> Candiate count= 1
>>  129.116.3.5     0.0.0.0         16 -    - 1024    0
>    0.000    0.000
>> 16000.0
>>  yyy.yyy.yyy.yyy    0.0.0.0         16 -    - 1024
>  0    0.000    0.000
>> 16000.0
>>  132.246.168.80  0.0.0.0         16 -    - 1024    0
>    0.000    0.000
>> 16000.0
>> +132.246.168.2   .PPS.            1 u  851 1024  377
>   25.010   -0.283
>> 0.200
>> Candiate count= 2
>> *132.246.168.3   .PPS.            1 u  216 1024  377
>   24.980   -0.554
>> 0.240
>> Candiate count= 3
>> Use of uninitialized value at ./check_ntp line 297.
>> UNKNOWN: Jitter  too high
>
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=397599&aid=684818&group_id=29880
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
>  ::: Messages without supporting info will risk being sent to /dev/null







More information about the Devel mailing list