Home

Awesome

NTP Pool Monitor

Client installation

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

Client requirements

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.

Server / API configuration

Environment variables

Files

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: ...