Configure the appropriate repository (test or production) from builds.ntppool.dev/repo/.
Install the ntppool-monitor package, copy the configuration files to
/etc/ntpmon and then start the systemd units (or file and unit, if you
are only running either a v4 or v6 monitor instead of both).
sudo apt update
sudo apt install -y ntppool-monitor
cd /etc/ntpmon;
for f in *ntppool.dev.json; do
n=`basename $f .json`;
sudo systemctl enable --now ntppool-monitor@$n;
done
sudo journalctl -u ntppool-monitor@\* -f
A well connected Linux or FreeBSD system (x86_64 or arm64).
Each instance (you need one for each of IPv4 and IPv6, and maybe for the beta system and the production system) takes less than 20MB memory currently and approximately no CPU.
A future version will either require or work best with traceroute installed and available as well.
DEPLOYMENT_MODEdevelDATABASE_DSNdatabase connection string- example:
"tcp(ntp-db-mysql)/betadb?charset=utf8&parseTime=true"
- example:
JWT_KEYkey for signing JWTs for the mosquitto serverVAULT_CACERTpath for public vault signing certificateVAULT_ADDRURL for vault serverOTEL_EXPORTER_OTLP_ENDPOINTURL for open telemetry endpoint
If you don't add username and password to the DATABASE_DSN, it has to
be provided in a file named /vault/secrets/database.yaml in the format:
database:
user: some-db-user
pass: ...