CASE← DuanYuan中文

Server ops monitoring panel

Framework-free PHP + SQLite · metrics · reachability probes

Problem

Standing up Prometheus and Grafana for one panel is overkill. The ask was a single page: disk, memory, processes, whether sites are up, and how slow they answer.

Approach

PHP reads /proc and df straight into a SQLite time-series table; reachability is probed with curl on a schedule; the front end is one table and a line chart with no external JS.

Details

Collection is separated from display: cron collects, pages only read. History is archived by day and pruned after 30 days; thresholds are configurable.

Single-file deployment, zero dependencies; both sites and the server state on one screen.

Open the demo →

Download source ↓ (free with an account)

RELATED
← All cases
DuanYuan · Notes & Experiments
冀ICP备2026047080号-1·冀公网安备13020702000398号
Join free · Contact