From 9242089690c60d22307ecb5444fc8f0c37fdc2f7 Mon Sep 17 00:00:00 2001 From: Olivier <16240457+TiTidom-RC@users.noreply.github.com> Date: Tue, 11 Nov 2025 15:06:27 +0100 Subject: [PATCH 1/2] update network_ip value if empty --- .vscode/settings.json | 1 + core/class/Monitoring.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a4056435..e7d6b117 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -34,6 +34,7 @@ "Etat", "firmver", "Formated", + "freebsd", "getcfg", "getconf", "getconfiguration", diff --git a/core/class/Monitoring.class.php b/core/class/Monitoring.class.php index e45b79e5..18a46d5f 100644 --- a/core/class/Monitoring.class.php +++ b/core/class/Monitoring.class.php @@ -3321,7 +3321,7 @@ public function formatCPU($_cpu_nb, $_cpu_freq, $_cpu_temp, $_OS, $_equipement) public function formatNetwork($_network_txrx, $_network_ip, $_equipement) { // Network TX, Network RX, Network Name, Network Ip, Text - $network_ip = isset($_network_ip) ? $_network_ip : ''; + $network_ip = isset($_network_ip) && !empty($_network_ip) ? $_network_ip : 'N/A'; // Init result $result = [0.00, 0.00, '', $network_ip, '', '']; From 3cb50e5a1526425b82359e9d3be028595dc03eeb Mon Sep 17 00:00:00 2001 From: Olivier <16240457+TiTidom-RC@users.noreply.github.com> Date: Tue, 11 Nov 2025 15:06:43 +0100 Subject: [PATCH 2/2] Update info.json --- plugin_info/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_info/info.json b/plugin_info/info.json index 79bc4977..2e97459d 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -1,7 +1,7 @@ { "id": "Monitoring", "name": "Monitoring", - "pluginVersion": "3.2.0", + "pluginVersion": "3.2.1", "description": { "fr_FR": "Plugin permettant le monitoring des équipements locaux et distants (via SSH). Le plugin affichera les informations systèmes d'équipements sous Linux ou Synology (Distribution, CPU, Mémoire, Disques, Swap).", "en_US": "Plugin to monitor local and remote equipments (through SSH). The plugin will display system informations from Linux or Synology (Distribution, CPU, Memory, Disks, Swap).",