diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index ee20c2d8c1..a6811c1856 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -244,6 +244,10 @@ if ($ag_modulename != '') { $sql_conditions .= " AND tagente_modulo.nombre LIKE '%".$ag_modulename."%'"; } +if ($id_module) { + $sql_conditions .= sprintf(' AND tagente_modulo.id_agente_modulo = \'%d\'', $id_module); +} + if ($module_option !== 0) { if ($module_option == 1) { // Only enabled