diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 70252f7df2..1e78d7ce9d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-02-27 Vanessa Gil + + * godmode/agentes/agent_template.php: Fixed bug: values 'max_warning', + 'min_warning', 'max_critical', 'min_critical', 'postprocess' aren't saved in + the application template. + 2012-02-27 Vanessa Gil * godmode/modules/manage_network_components.php: Fixed bug: values max and min diff --git a/pandora_console/godmode/agentes/agent_template.php b/pandora_console/godmode/agentes/agent_template.php index ee223321b7..45abd8d7b9 100644 --- a/pandora_console/godmode/agentes/agent_template.php +++ b/pandora_console/godmode/agentes/agent_template.php @@ -76,7 +76,15 @@ if (isset ($_POST["template_id"])) { 'plugin_pass' => $row2["plugin_pass"], 'plugin_parameter' => $row2["plugin_parameter"], 'max_timeout' => $row2["max_timeout"], - 'id_plugin' => $row2['id_plugin']); + 'id_plugin' => $row2['id_plugin'], + 'post_process' => $row2['post_process'], + 'min_warning' => $row2['min_warning'], + 'max_warning' => $row2['max_warning'], + 'str_warning' => $row2['str_warning'], + 'min_critical' => $row2['min_critical'], + 'max_critical' => $row2['max_critical'], + 'str_critical' => $row2['str_critical'] + ); $id_agente_modulo = db_process_sql_insert('tagente_modulo', $values); // Create with different estado if proc type or data type