From 788cb8cbd8ce3340f31893df9cb73c674efcbe3c Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 9 Aug 2017 12:08:52 +0200 Subject: [PATCH] fixed errors in form wux --- pandora_console/godmode/agentes/configurar_agente.php | 2 +- pandora_console/godmode/agentes/module_manager_editor.php | 2 +- pandora_console/include/constants.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index c5ee3b6c88..dd7123e781 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -975,7 +975,7 @@ if ($update_module || $create_module) { $custom_string_1 = (string) get_parameter ('custom_string_1', $custom_string_1_default); $custom_string_2 = (string) get_parameter ('custom_string_2', $custom_string_2_default); $custom_string_3 = (string) get_parameter ('custom_string_3', $custom_string_3_default); - $custom_integer_1 = (int) get_parameter ('prediction_module', $custom_integer_1_default); + $custom_integer_1 = (int) get_parameter ('custom_integer_1', $custom_integer_1_default); $custom_integer_2 = (int) get_parameter ('custom_integer_2', $custom_integer_2_default); // Get macros diff --git a/pandora_console/godmode/agentes/module_manager_editor.php b/pandora_console/godmode/agentes/module_manager_editor.php index a330ef8d03..462fa5471d 100644 --- a/pandora_console/godmode/agentes/module_manager_editor.php +++ b/pandora_console/godmode/agentes/module_manager_editor.php @@ -183,7 +183,7 @@ if ($id_agent_module) { // Security level Could be noAuthNoPriv | authNoPriv | authPriv $snmp3_security_level = $module["custom_string_3"]; - + $ip_target = $module['ip_target']; $disabled = $module['disabled']; $id_export = $module['id_export']; diff --git a/pandora_console/include/constants.php b/pandora_console/include/constants.php index a61bfedf49..82cd88aa41 100644 --- a/pandora_console/include/constants.php +++ b/pandora_console/include/constants.php @@ -351,6 +351,7 @@ define('SERVER_TYPE_ENTERPRISE_SATELLITE', 13); define('SERVER_TYPE_ENTERPRISE_TRANSACTIONAL', 14); define('SERVER_TYPE_MAINFRAME', 15); define('SERVER_TYPE_SYNC', 16); +define('SERVER_TYPE_WUX', 17); /* REPORTS */ define('REPORT_TOP_N_MAX', 1);