2012-02-27 Vanessa Gil <vanessa.gil@artica.es>

* godmode/agentes/agent_template.php: Fixed bug: values 'max_warning',
	'min_warning', 'max_critical', 'min_critical', 'postprocess' aren't saved in
	the application template.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-27 15:50:30 +00:00
parent 115a3c24bd
commit ab4870a3af
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-02-27 Vanessa Gil <vanessa.gil@artica.es>
* 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 <vanessa.gil@artica.es>
* godmode/modules/manage_network_components.php: Fixed bug: values max and min

View File

@ -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