@stephenw10 said in StarLink as source for NTP:
@davehart said in StarLink as source for NTP:
It seems reasonable to do that for refids with only unprintable/invisible characters.
You mean it could be expected to return .. if it doesn't have a printable ID value?
Exactly. I'd like to be scolding that instead of screen-scraping the peers billboard the web UI should be using a parsing-friendly version (which ntpq calls raw), but in fact there's no raw form of the billboards. It can be done with multiple raw queries to get the list of associations and query the raw peer variables for each association, though, which is what the billboard code in ntpq is doing. Given that lots of folks have resorted to scraping it, making sure there's something in the refid field seems wise.