Small static web dashboard for Linux server load history using sysstat/sar.
It runs sadf against existing sar logs, renders HTML with inline SVG charts,
and exits. There is no database, no resident collector process, no JavaScript
dependency, and no third-party Python package dependency.
- Linux hosts with
sysstatenabled. sarandsadfavailable on each host.- SSH access from the dashboard host to remote hosts, if remote hosts are used.
- Python 3.10 or newer on the dashboard host.
install -d /etc/sar-static-dashboard /var/www/sysstat-dashboard
cp config.example.json /etc/sar-static-dashboard/config.json
vi /etc/sar-static-dashboard/config.json
./bin/sar_static_dashboard.py \
--config /etc/sar-static-dashboard/config.json \
--output /var/www/sysstat-dashboardServe /var/www/sysstat-dashboard with nginx, Apache, Caddy, or any static file
server. For periodic updates, run the generator from cron or a systemd timer.
The default dashboard includes CPU, load, memory, swap, disk, and network charts.
Virtual interfaces such as lo, docker*, br-*, and veth* are excluded from
the network aggregate.
The dashboard is static, but it can expose operational details. Put it behind HTTP authentication, a VPN, or an IP allowlist unless the data is intentionally public.