feat: add SSH metrics collection with ssh2 library and auto-scheduler

Replace sshpass with ssh2 Node.js library for reliable SSH connections.
Add all 6 servers (CWP, EasyPanel, MCP Hub, Meet, WhatsApp, WhatSMS).
Add 5-minute auto-collection scheduler in production mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 22:14:22 +00:00
parent 37164cf2ac
commit 10fc8f5ccc
4 changed files with 255 additions and 107 deletions

View File

@@ -27,6 +27,7 @@
"react-oidc-context": "^3.1.1",
"react-router-dom": "^7.13.0",
"recharts": "^3.7.0",
"ssh2": "^1.17.0",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
@@ -37,6 +38,7 @@
"@types/node": "^24.10.10",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@types/ssh2": "^1.15.5",
"@vitejs/plugin-react": "^5.1.1",
"autoprefixer": "^10.4.24",
"concurrently": "^9.1.2",