feat: init projet supervision — monitoring systeme Windows

Interface web Flask securisee pour surveiller CPU, RAM, disques
et processus (JVM, Nginx, Amadea Web 8 x64).
Alertes email SMTP configurables, seuils reglables, compilation
PyInstaller en .exe, installation service Windows via NSSM.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dom
2026-03-26 09:48:35 +01:00
commit 61d17968a0
17 changed files with 1958 additions and 0 deletions

27
build.bat Normal file
View File

@@ -0,0 +1,27 @@
@echo off
title Build Supervision .exe
echo ==========================================
echo Build Supervision en executable
echo ==========================================
echo.
call .venv\Scripts\activate.bat
echo [INFO] Compilation avec PyInstaller...
pyinstaller ^
--name supervision ^
--onedir ^
--add-data "templates;templates" ^
--add-data "static;static" ^
--hidden-import flask ^
--hidden-import flask_login ^
--hidden-import flask_limiter ^
--hidden-import psutil ^
--noconfirm ^
app.py
echo.
echo [OK] Executable genere dans dist\supervision\
echo [INFO] Copiez le dossier dist\supervision\ sur le serveur cible.
echo [INFO] Le dossier data\ sera cree automatiquement au premier lancement.
pause