Local web UI to monitor an NTP-PPS GPS-enabled server either local to the server or remotely (LAN).
5.4K
This is a current work in progress. It was coded with AI to see if it was possible and will be scanned, updated, and code revised to make sure that the code stays secure and clean. I want to look over the code now that it is running and working and be able to make updates and modifications myself.
When I first built my NTP-PPS server, I followed this blog on how to do it: https://blog.networkprofile.org/gps-backed-local-ntp-server/. Once I was done, I wanted to be able to check on it occasionally to make sure everything was still working as expected. I just wanted to be able to monitor it without doing a bunch of extra work with Grafana and whatever else would be needed. That is where I came up with this app, to fill a need that I had for a dashboard for my NTP server. I couldn't find anything that I liked or was anywhere close to what I wanted, so I had to wait for AI to get good enough and for me to want to use it to come up with this solution. I do hope you enjoy it and consider giving it a star.
Check out my GitHub page for more detailed information.
You can deploy the app using the following Docker Compose:
services:
ntp-dashboard:
image: nighthawkatl/ntp-dashboard:latest ## -> Change to "ghcr.io/nighthawkatl/ntp-dashboard:latest" to pull from GitHub.
container_name: ntp-dashboard ## you can call it whatever you want. This is just a friendly suggestion.
network_mode: "host" ## Required to allow direct communication with the chrony package on the host.
environment:
- LOG_LEVEL=INFO # Default level for normal operation
# Supported levels:
# - DEBUG # Most verbose (for troubleshooting)
# - INFO # Standard runtime logs (recommended default)
# - WARNING # Warnings and errors only
# - ERROR # Errors only
# - CRITICAL # Critical failures only
volumes:
- ./data:/app/data ## Bind mounts are suggested to have easy-access to the data files.
- /run/chrony:/run/chrony # Needed for local-only deployments to access chrony correctly and gather data
restart: unless-stopped ## Typical deployment unless you wish to change this.
Content type
Image
Digest
sha256:6f703af72…
Size
162.3 MB
Last updated
about 4 hours ago
docker pull nighthawkatl/ntp-dashboard