2008-04-10 Sancho Lerena <slerena@artica.es>

* godmode/agentes/configurar_agente.php: Fixe problem with server
        assigment in creation mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2008-04-10 14:07:42 +00:00
parent 08ec183a4b
commit 6f89778e2b
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2008-04-10 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Fixe problem with server
assigment in creation mode.
* godmode/agentes/alert_manager.php, godmode/agentes/configurar_agente.php,
godmode/agentes/alert_manager_editor.php: Fixed problem with combined alert
editor. Tested and works fine for me.

View File

@ -109,10 +109,12 @@ if ( isset ($_POST["create_agent"])) { // Create a new and shining agent
$intervalo = entrada_limpia ($_POST["intervalo"]);
$comentarios = entrada_limpia ($_POST["comentarios"]);
$modo = entrada_limpia ($_POST["modo"]);
$id_network_server = get_parameter_post ($_POST["network_server"], 0);
$id_plugin_server = get_parameter_post ($_POST["plugin_server"], 0);
$id_prediction_server = get_parameter_post ($_POST["prediction_server"], 0);
$id_wmi_server = get_parameter_post ($_POST["wmi_server"], 0);
$id_network_server = get_parameter_post ("network_server", 0);
$id_plugin_server = get_parameter_post ("plugin_server", 0);
$id_prediction_server = get_parameter_post ("prediction_server", 0);
$id_wmi_server = get_parameter_post ("wmi_server", 0);
$id_os = entrada_limpia ($_POST["id_os"]);
$disabled = entrada_limpia ($_POST["disabled"]);