From 46cefd425d5094531fdc28c6c12a45a6a17675fd Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Mon, 30 Nov 2020 13:22:45 +0100 Subject: [PATCH] fixed count in tactical view --- pandora_console/include/functions_tactical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_tactical.php b/pandora_console/include/functions_tactical.php index 4e29dda423..6369805703 100644 --- a/pandora_console/include/functions_tactical.php +++ b/pandora_console/include/functions_tactical.php @@ -383,7 +383,7 @@ function tactical_get_data($id_user=false, $user_strict=false, $acltags, $return $total_agentes = agents_get_agents(false, ['count(DISTINCT id_agente) as total_agents'], 'AR', false, false, 1); $list['_total_agents_'] = $total_agentes[0]['total_agents']; - $list['_monitor_checks_'] = ($list['_monitors_not_init_'] + $list['_monitors_unknown_'] + $list['_monitors_warning_'] + $list['_monitors_critical_'] + $list['_monitors_ok_']); + $list['_monitor_checks_'] = ($list['_monitors_unknown_'] + $list['_monitors_warning_'] + $list['_monitors_critical_'] + $list['_monitors_ok_']); // Calculate not_normal monitors $list['_monitor_not_normal_'] = ($list['_monitor_checks_'] - $list['_monitors_ok_']);