Score/time offset statistics


#1

Is there a way to get the score / time offset statistics over a longer period than 3 days? I’m trying to chase down a network latency issue and long term trends would be very useful. A CSV would do the job nicely.

TIA

John.


#2

If you see your server’s score page, there’s a link named “CSV log” at the bottom. By default that will show the last 200 measurements, but you can change the URL to show more (up to some limit, I believe).


#3

Looks like the max setting you can do is 4,000 samples, or about 25 days…


#4

Ahha! Thank you, that should do nicely. It never occured to me to try a different range in the URL :slight_smile:


#5

The code is at https://github.com/abh/ntppool/blob/master/lib/NTPPool/Control/Scores.pm#L72

If you change the “monitor” parameter from * to 1 it will give more days, too.