Last active
October 29, 2015 12:32
-
-
Save munhitsu/c74b3f627066392a1fb4 to your computer and use it in GitHub Desktop.
NTP debugging/config aws context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# recommended ntp pool (/etc/ntp.conf) | |
server 0.amazon.pool.ntp.org iburst | |
server 1.amazon.pool.ntp.org iburst | |
server 2.amazon.pool.ntp.org iburst | |
server 3.amazon.pool.ntp.org iburst | |
ntpq | |
> peers | |
check for connection prefixed with * | |
> as | |
check for "sys_peer" | |
> rv (assid) | |
# healthy output | |
""" | |
ntpq | |
ntpq> peers | |
remote refid st t when poll reach delay offset jitter | |
============================================================================== | |
+chris.magnet.ie 193.120.10.3 2 u 31 64 377 2.363 -12.187 10.625 | |
+gatekeeper.dhco .PPS. 1 u 21 64 377 7.462 -29.616 11.063 | |
*tshirt.heanet.i .PPS. 1 u 25 64 377 4.589 -28.576 11.670 | |
x149.157.192.5 128.243.81.127 2 u 12 64 377 2.650 -2.221 8.775 | |
ntpq> as | |
ind assid status conf reach auth condition last_event cnt | |
=========================================================== | |
1 19717 9424 yes yes none candidate reachable 2 | |
2 19718 943a yes yes none candidate sys_peer 3 | |
3 19719 963a yes yes none sys.peer sys_peer 3 | |
4 19720 9124 yes yes none falsetick reachable 2 | |
ntpq> rv 19719 | |
associd=19719 status=963a conf, reach, sel_sys.peer, 3 events, sys_peer, | |
srcadr=tshirt.heanet.ie, srcport=123, dstadr=10.0.2.172, dstport=123, | |
leap=00, stratum=1, precision=-19, rootdelay=0.000, rootdisp=0.259, | |
refid=PPS, reftime=d9dc8fcc.d5134ef4 Thu, Oct 29 2015 12:30:04.832, | |
rec=d9dc8fcd.b3390230 Thu, Oct 29 2015 12:30:05.700, reach=377, | |
unreach=0, hmode=3, pmode=4, hpoll=6, ppoll=6, headway=23, flash=00 ok, | |
keyid=0, offset=-28.576, delay=4.589, dispersion=5.097, jitter=11.670, | |
xleave=0.047, | |
filtdelay= 5.59 4.82 4.82 4.79 4.64 4.68 4.59 4.71, | |
filtoffset= -13.10 -13.41 -14.47 -16.19 -19.03 -22.96 -28.58 -31.53, | |
filtdisp= 0.00 1.01 1.98 2.96 3.93 4.91 5.90 6.86 | |
""" | |
note high offset as system is re-adjusting the clock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment