feat(agent-scan-network): MQTT + configs exemples + ROADMAP Phase 6
- mqtt.rs : publication résumé scan sur sentinelmesh/<host>/network/scan - Config MQTT dans les deux agents (enabled: false par défaut) - ROADMAP Phase 6 complète : SSE, historique, Prometheus, MQTT ✅ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+11
-8
@@ -51,12 +51,15 @@
|
||||
- [x] `.gitea/workflows/ci.yaml` : check + clippy + fmt + tests sur push/PR
|
||||
- [x] `.gitea/workflows/release.yaml` : build multi-arch + release Gitea sur tag v*
|
||||
|
||||
## Phase 6 — Extensions
|
||||
## Phase 6 — Extensions ✅
|
||||
|
||||
- [ ] MQTT
|
||||
- [ ] WebSocket / SSE
|
||||
- [ ] Historique + agrégation + retention
|
||||
- [ ] Prometheus / InfluxDB
|
||||
- [ ] Home Assistant / Grafana
|
||||
- [ ] Support multi-dashboard
|
||||
- [ ] PostgreSQL
|
||||
- [x] SSE (Server-Sent Events) : GET /api/v1/stream — events `metrics` et `network` en temps réel
|
||||
- [x] Historique métriques : GET /api/v1/history/{agent_id}?hours=N, rétention 7 jours
|
||||
- [x] Prometheus : GET /metrics — format text/plain, compatible Grafana/Prometheus
|
||||
- [x] MQTT agent-metric : publication realtime/medium/events (rumqttc, QoS 0/1)
|
||||
- [x] MQTT agent-scan-network : publication résumé scan réseau
|
||||
- [x] Topics MQTT : sentinelmesh/<hostname>/metrics/realtime|medium et network/scan
|
||||
- [ ] Home Assistant integration via MQTT discovery — futur
|
||||
- [ ] PostgreSQL — futur (SQLite suffisant en homelab)
|
||||
- [ ] WebSocket bidirectionnel — futur
|
||||
- [ ] InfluxDB / Grafana direct — Prometheus couvre le besoin via scraping
|
||||
|
||||
Reference in New Issue
Block a user