"monitor=recentmedian" no longer works

One of the metrics I gather for my NTP servers is their current score in the NTP Pool. For this I’ve been using a URL like https://www.ntppool.org/scores/2a05:b400:c::123:60/json?limit=1&monitor=recentmedian. But now this has stopped working and I get {"message":"monitor not found"}. The corresponding “log” URL behaves the same. Is this a deliberate change? Is there something I should be using instead to get the current score of a server?

I’m guessing a bug introduced when I made the filtering work for dual IPv4/IPv6 monitors.

For the time being, I found that using the “monitor number” of the scorer, i.e., “24”, instead of the string “recentmedian”, will give the recent median.

1 Like

That makes sense and confirms what I think is going wrong. I’ll see if I can make a fix tonight.

1 Like

This has been fixed; thanks for reporting it @bjh21! (And the additional debugging, @MagicNTP)

2 Likes

Thank you! My graphs now include my servers’ scores again.

1 Like