From 3c78e387df8cf41385566c52f9fc5d2f2ddfb991 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Fri, 2 Nov 2018 11:32:07 +0100 Subject: [PATCH] Fixed nodes count in pandora_networkmap --- pandora_console/operation/agentes/pandora_networkmap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/agentes/pandora_networkmap.php b/pandora_console/operation/agentes/pandora_networkmap.php index 2d6f03ce1c..922cab8b8f 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.php +++ b/pandora_console/operation/agentes/pandora_networkmap.php @@ -639,7 +639,7 @@ switch ($tab) { } } else { - $data['nodes'] = $count - 1; //PandoraFMS node is not an agent + $data['nodes'] = ($network_map['id_group'] == 0) ? $count - 1 : $count; //PandoraFMS node is not an agent } }