Aggiornato README con dettagli sull'agente e architettura

This commit is contained in:
root
2026-04-18 15:20:56 +02:00
parent e3454c5714
commit 53058733bd
+3 -3
View File
@@ -1,4 +1,4 @@
# 📡 Fleet Control Console # 📡 ARIFVG Fleet Control Console
🌍 *[Read in English](#english) | 🇮🇹 [Leggi in Italiano](#italiano)* 🌍 *[Read in English](#english) | 🇮🇹 [Leggi in Italiano](#italiano)*
@@ -35,7 +35,7 @@ The ecosystem consists of three main parts:
#### 2. Agent Setup (Remote Nodes) #### 2. Agent Setup (Remote Nodes)
The `system_monitor.py` must be installed on every node you wish to monitor. The `system_monitor.py` must be installed on every node you wish to monitor.
* Place `system_monitor.py` and `node_config.json` in a folder (e.g., `/opt/node_agent/`). * Place `system_monitor.py` and `node_config.json` in a folder (e.g., `/opt/node_agent/`).
* Edit `node_config.json` to set the `NodeID` (must match the ID in `clients.json`) and MQTT credentials. * Edit `monitor_config.ini` to set the `client_id` (must match the ID in `clients.json`) and MQTT credentials.
* (Recommended) Set up a systemd service to run the agent automatically at boot. * (Recommended) Set up a systemd service to run the agent automatically at boot.
--- ---
@@ -71,7 +71,7 @@ L'ecosistema si compone di tre parti principali:
#### 2. Setup dell'Agente (Nodi Remoti) #### 2. Setup dell'Agente (Nodi Remoti)
Il file `system_monitor.py` va installato su ogni nodo che vuoi monitorare. Il file `system_monitor.py` va installato su ogni nodo che vuoi monitorare.
* Copia `system_monitor.py` e `node_config.json` in una cartella (es. `/opt/node_agent/`). * Copia `system_monitor.py` e `node_config.json` in una cartella (es. `/opt/node_agent/`).
* Modifica `node_config.json` impostando il `NodeID` (deve corrispondere all'ID in `clients.json`) e le credenziali MQTT. * Modifica `monitor_config.ini` impostando il `client_id` (deve corrispondere all'ID in `clients.json`) e le credenziali MQTT.
* (Consigliato) Crea un servizio systemd per avviare l'agente automaticamente al boot. * (Consigliato) Crea un servizio systemd per avviare l'agente automaticamente al boot.
--- ---