bytelyst-devops-tools/dashboard/backend
Hermes VM d0b8ce2c74 feat: add VM Health page to devops dashboard
Backend (Fastify):
- New module: modules/vm/ (types, repository, routes)
- GET  /api/vm/health      — runs vm-health-check.sh --json, returns structured result
- GET  /api/vm/cleanup-log — tails /var/log/vm-cleanup.log
- POST /api/vm/cleanup     — triggers vm-cleanup.sh (weekly / monthly / dry-run)
- Registered vmRoutes in server.ts

Frontend (Next.js):
- New page: /vm — VM Health
  - Overall status banner (OK/WARN/CRIT) with issue summary
  - Per-check cards: disk, load, RAM, swap, crash loops, container health,
    build cache, docker images, journal, syslog — color-coded by level
  - Cleanup trigger buttons (dry-run, weekly, monthly) with output viewer
  - Collapsible cleanup log viewer (last 40 lines)
  - Auto-refresh every 60s
- sidebar-nav.tsx: added 'VM Health' entry with Server icon

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 18:53:20 +00:00
..
src feat: add VM Health page to devops dashboard 2026-05-27 18:53:20 +00:00
.env.example feat(devops): adopt trading web deployment model with docker-compose 2026-05-11 03:24:11 +00:00
.gitignore feat(devops): adopt trading web deployment model with docker-compose 2026-05-11 03:24:11 +00:00
Dockerfile feat(devops): restore dashboard build and log polling 2026-05-18 09:00:56 +00:00
package-lock.json feat(devops): adopt trading web deployment model with docker-compose 2026-05-11 03:24:11 +00:00
package.json feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
tsconfig.json feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
vitest.config.ts feat(devops): adopt trading web deployment model with docker-compose 2026-05-11 03:24:11 +00:00