Collects server resource usage over SSH, stores metrics in MySQL, and presents dashboards in Streamlit.
- Python 3.10+
- MySQL
- OpenSSH access to target servers
-
Install dependencies:
pip install -r requirements.txt
-
Configure
lib/config.pywith database credentials, SSH accounts, and URLs. -
Ensure your MySQL schema matches the expected tables used by the scripts.
streamlit run lib/ui/app.pyThe booking interface is part of the Streamlit app.
Booking state is stored in booking_state.json at the repo root.
python -m lib.mysql_update.check_connect
python -m lib.mysql_update.update_status
python -m lib.mysql_update.compress_datapython -m lib.auto_run.runnerpython -m lib.mysql_update.backuplib/auto_run/runner.pyusesDefaultConfig.FILE_PATHto locate scripts. If it is empty, it defaults tolib/mysql_updateunder the repo root.- For version display, the UI reads
git describewhen available.