7cf56f24ef
- Workspace Cargo avec backend, agent-scan-network, agent-metric - Skeleton Rust pour les trois crates (Axum, Tokio, SQLx) - Documentation : README, FEATURES, ROADMAP, ARCHITECTURE, API, INSTALL - Exemples de widgets Glance (custom-api) - Script d'installation agents (squelette Phase 5) - Docker Compose + Dockerfile backend - .gitignore et CLAUDE.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# SentinelMesh
|
|
|
|
Plateforme modulaire de supervision d'infrastructure orientée homelab et self-hosting.
|
|
|
|
## Composants
|
|
|
|
| Composant | Description |
|
|
|-----------|-------------|
|
|
| `backend/` | API centrale Rust (Axum + Tokio + SQLite) |
|
|
| `agents/agent-scan-network/` | Daemon Rust de découverte réseau |
|
|
| `agents/agent-metric/` | Daemon Rust de collecte de métriques système |
|
|
| `widgets/widget-network-scan/` | Widget Glance — équipements réseau |
|
|
| `widgets/widget-agent-metrics/` | Widget Glance — métriques système |
|
|
| `install/` | Scripts d'installation et de mise à jour |
|
|
|
|
## Démarrage rapide
|
|
|
|
```bash
|
|
# Lancer le backend (développement)
|
|
cd backend && cargo run
|
|
|
|
# Lancer un agent
|
|
cd agents/agent-scan-network && cargo run
|
|
|
|
# Stack complète
|
|
docker compose up -d
|
|
```
|
|
|
|
## Intégration Glance
|
|
|
|
```yaml
|
|
- type: custom-api
|
|
title: SentinelMesh — Réseau
|
|
cache: 30s
|
|
url: http://sentinelmesh:8080/api/v1/widgets/network
|
|
|
|
- type: custom-api
|
|
title: SentinelMesh — Métriques
|
|
cache: 1s
|
|
url: http://sentinelmesh:8080/api/v1/widgets/metrics
|
|
```
|
|
|
|
## Documentation
|
|
|
|
- [Architecture](docs/ARCHITECTURE.md)
|
|
- [API](docs/API.md)
|
|
- [Installation](docs/INSTALL.md)
|
|
- [Roadmap](ROADMAP.md)
|
|
- [Fonctionnalités](FEATURES.md)
|