Hi, I have configured my router to set it’s time via NTP and also to serve time via NTP in the LuCI interface. But I can’t see any way to view the status of NTP. Something like ‘ntpq -p’ or ‘chronyc sources’ usually provides something similar to:
duncan@raspberrypi:/$ ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== -ntp.teaparty.ne 81.2.117.235 2 u 219 256 377 8.160 3.235 0.131 *85.199.214.101 .GPS. 1 u 35 64 377 9.787 1.740 0.221 +ntp1.wirehive.n 195.66.241.3 2 u 252 256 377 12.877 0.935 0.333 +elite7hackers.n 213.136.0.252 2 u 221 256 377 19.417 2.025 0.254 duncan@raspberrypi:/$
How do I query the status of NTP on my router? Otherwise I’ve got no way to measure the offset of the clock running on the router, or see the quality of the NTP sources it is using.
By default, busybox-ntpd, can supply both a client for setting time, and a server for supplying time to the local net. This is installed out of the box and should take care of most time syncing needs. It doesnt support advanced features like query, so the server cannot be monitored from other systems like Nagios.