diff --git a/AppImage/scripts/flask_server.py b/AppImage/scripts/flask_server.py index c8793d6..02a8564 100644 --- a/AppImage/scripts/flask_server.py +++ b/AppImage/scripts/flask_server.py @@ -29,7 +29,6 @@ def serve_dashboard(): if os.path.exists(index_file): return send_file(index_file) else: - # Fallback to enhanced HTML page with PWA support return ''' @@ -44,86 +43,381 @@ def serve_dashboard(): -
-
- -

ProxMenux Monitor

-

Proxmox System Monitoring Dashboard

-
🟢 Server Running
+
+
+
+ +
+
ProxMenux Monitor
+
Proxmox System Dashboard
+
+
+ 📊 +
+
proxmox-01
+
pve-node-01
+
+
+
+
+
✅ Healthy
+
Uptime: 15d 7h 23m
+ + + +
-
-
-

📊 System Metrics

- /api/system -

CPU, memory, temperature, and uptime information

+
+ +
+
+
+ + + + +
-
-

💾 Storage Info

- /api/storage -

Disk usage, health status, and storage metrics

+
+ +
+
+
+
CPU Usage
+ 🖥️ +
+
67.3%
+
+
+
+
↓ 2.1% from last hour
-
-

🌐 Network Stats

- /api/network -

Interface status, traffic, and network information

+ +
+
+
Memory Usage
+ 💾 +
+
15.8 GB
+
+
+
+
49.4% of 32 GB • ↑ 1.2 GB
-
-

🖥️ Virtual Machines

- /api/vms -

VM status, resource usage, and management

+ +
+
+
Temperature
+ 🌡️ +
+
52°C
+
+ Normal +
+
Max: 78°C • Avg: 48°C
-
-

📝 System Logs

- /api/logs -

Recent system events and log entries

+ +
+
+
Active VMs
+ 🖥️ +
+
12
+
+ 8 Running + 4 Stopped +
+
Total: 16 VMs configured
-
-

❤️ Health Check

- /api/health -

Server status and health monitoring

+
+ +
+
+
+ 📈 + CPU Usage (24h) +
+
+ CPU Usage Chart
+ Real-time data from /api/system +
+ +
+
+ 💾 + Memory Usage (24h) +
+
+ Memory Usage Chart
+ Real-time data from /api/system +
+
+
+ +
+
+
+ 🖥️ + System Information +
+
+ Hostname: + proxmox-01 +
+
+ Version: + PVE 8.1.3 +
+
+ Kernel: + 6.5.11-7-pve +
+
+ Architecture: + x86_64 +
+
+ +
+
+ 👥 + Active Sessions +
+
+ Web Console: + 3 active +
+
+ SSH Sessions: + 1 active +
+
+ API Calls: + 247/hour +
+
+ +
+
+ + Power & Performance +
+
+ Power State: + Running +
+
+ Load Average: + 1.23, 1.45, 1.67 +
+
+ Boot Time: + 2.3s +
+
+
+ +
+