====== Glances ======
[[https://github.com/nicolargo/glances|Glances]] is a CLI and Web GUI monitor for your server. It's neat and nice, and it's not intrusive.
==== Installation ====
Glances is available in Gentoo's Portage, but lacks the FastAPI and Uvcorn dependencies, so it's better to create a dedicated venv as root:
python -m venv /opt/glances
. /opt/glances/bin/activate
pip install glances fastapi uvicorn jinja2
Then set it up in the reverse proxy to be accessed protected behind your SSO.
==== Reverse Proxy ====
location = /glances {
return 301 https://$host/glances/;
}
location /glances/ {
proxy_pass http://127.0.0.1:61208/;
}
==== Autostart ====