Bỏ qua, tới nội dung
Dymini Panel
v0.19.1
Mục lục
Trang này chưa được dịch sang Tiếng Việt. Bạn đang xem bản gốc.

Health check

Trong trang này

System → Health check shows, for every server, whether its operating system still gets security updates, how many package and security updates are waiting, whether a reboot is needed, how full each filesystem is, and how busy each disk was. It also lists an outdated panel, agents or cache from System → Updates. Findings are sorted critical first.

How servers are scanned

Each server is scanned automatically when its last scan is older than 12 hours (checked every 15 minutes, a few servers at a time), and on demand with Scan now. A scan starts a short-lived container from a pinned Alpine image with the host's root filesystem mounted read-only and no network, reads /etc/os-release, the mounts, df, /proc/diskstats and the package manager's cached lists (apt list --upgradable, apk version, dnf check-update/updateinfo from cache), then removes itself. It takes a few seconds, uses at most half a CPU and 256 MiB, never refreshes package lists and never changes the host, so it works the same on local and remote servers.

Findings include: operating system out of support or ending within six months (Ubuntu, Debian, RHEL, Rocky, AlmaLinux, CentOS, Alpine, Amazon Linux), waiting security updates (with the command to install them), other updates, reboot required, stale package lists, filesystems over 80/90/95% full, inodes over 90%, / or /var mounted read-only (usually after disk errors), and disks over 90% busy.

Disk analysis

Disk analysis lists the largest folders directly below a path, staying on the same filesystem; click a folder to go deeper. It can take up to two minutes on large disks.

API

Endpoint Scope Purpose
GET /api/v1/system/health system:read All servers and findings
GET /api/v1/servers/{id}/health system:read Latest scan of one server
POST /api/v1/servers/{id}/health/scan system:write Scan now
GET /api/v1/servers/{id}/disk-usage?path=/var system:read Largest folders
Sửa trang này trên GitHub