I’m wondering what we can do to verify that NTP is working and that a device has the correct time.
One option is to run this command though the dashboard and compare to my local clock
while true; do clear; date "+%Y-%m-%d %T.%3N"; sleep 1; done
Another would be to create a simple webserver using python that returns the current system time and compare that in my browser to my local clock.
We are hunting for a 4 to 8 second discrepancy in our systems, so we don’t need a super precise comparison of clocks between systems, but the more precise the better. The more automated the better.