From 49626ddb9ed093009c1a7cdc0593225db4c401da Mon Sep 17 00:00:00 2001 From: Gilles Soulier Date: Sat, 23 May 2026 06:10:55 +0200 Subject: [PATCH] feat: RAM en Go dans popup + version agent dans install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Popup détail : valeur absolue RAM (Go) affichée à côté du % - install.sh : bannière version agent plus visible à la fin Co-Authored-By: Claude Sonnet 4.6 --- dashboard/js/popups.js | 5 ++++- deploy/install.sh | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dashboard/js/popups.js b/dashboard/js/popups.js index d66d35c..476ee2b 100644 --- a/dashboard/js/popups.js +++ b/dashboard/js/popups.js @@ -128,7 +128,10 @@ const Popups = (() => {
RAM
- ${Grid.fmtPct(metrics?.memory_used && metrics?.memory_total ? metrics.memory_used / metrics.memory_total * 100 : null)} +
+ ${Grid.fmtPct(metrics?.memory_used && metrics?.memory_total ? metrics.memory_used / metrics.memory_total * 100 : null)} + ${Grid.fmt(metrics?.memory_used)} +
−30min−15minnow
diff --git a/deploy/install.sh b/deploy/install.sh index 7f18be9..b03c7f9 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -198,6 +198,8 @@ echo "=== Statut ===" systemctl status nanometrics-agent --no-pager || true echo "" -ok "Installation terminée — agent $TAG opérationnel" +echo "======================================" +echo -e " ${GREEN}✓${NC} Nanometrics Agent ${TAG} installé" +echo "======================================" echo " Config : $CONFIG_FILE" echo " Logs : journalctl -u nanometrics-agent -f"