
Captura real de la página, tomada en la LAN.
Real screenshot of the page, taken on the LAN.
server-status onlineonline
Un vistazo y sé si el server está bien.
One glance and I know whether the server is fine.
Por qué
Why
Con todo en una sola máquina, si algo se cae se cae la casa. Quería ver CPU, memoria, discos, temperaturas y el estado de cada servicio sin entrar por SSH.
With everything on one machine, if something breaks the whole house does. I wanted CPU, memory, disks, temperatures and every service's state without logging in over SSH.
Cómo
How
Python puro, sin dependencias: lee /proc, /sys y systemctl, y prueba cada sitio por la dirección que usa la gente, así el DNS, nginx y el túnel quedan en el camino. Expone /healthz para un heartbeat externo, y tiene botones de actualizar y reiniciar protegidos con PIN.
Pure Python, no dependencies: it reads /proc, /sys and systemctl, and checks each site through the address people actually use, so DNS, nginx and the tunnel are on the path. It exposes /healthz for an external heartbeat, plus PIN-guarded update and restart buttons.
Cómo quedó
How it turned out
Corre como un usuario de sistema sin privilegios, con sólo dos comandos permitidos en sudoers. A propósito no tiene botón de apagar: un equipo sin power-restore queda apagado hasta que alguien aprieta el botón.
It runs as an unprivileged system user with just two commands allowed in sudoers. There is deliberately no shutdown button: a box without power-restore stays off until someone presses its button.