2008-04-04 Jorge Gonzalez <jorge.gonzalez@artica.es>

* godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/configurar_agente.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php: Removed warning
        messages due a lack of a variable in configurar_agente.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
aloriel 2008-04-04 11:40:28 +00:00
parent 479240063d
commit 3c36d4e2c2
7 changed files with 28 additions and 21 deletions

View File

@ -1,4 +1,14 @@
2008-04-03 Jorge Gonzalez <jo[Brge.gonzalez@artica.es>
2008-04-04 Jorge Gonzalez <jorge.gonzalez@artica.es>
* godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: Removed warning
messages due a lack of a variable in configurar_agente.php
2008-04-03 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/functions_db.php: New functions added to handle plugins and
export servers.

View File

@ -619,8 +619,10 @@ if ((isset($_POST["update_module"])) || (isset($_POST["insert_module"]))) {
$form_name = get_parameter ("form_name");
$form_description = get_parameter ("form_description");
$form_id_module_group = get_parameter ("form_id_module_group",0);
$form_flag = get_parameter ("form_flag",0);
$form_id_tipo_modulo = get_parameter ("form_id_tipo_modulo");
$form_post_process = get_parameter ("form_post_process",0);
$form_prediction_module = get_parameter ("form_prediction_module",0);
$form_max_timeout = get_parameter ("form_max_timeout",0);
$form_minvalue = get_parameter_post ("form_minvalue",0);
$form_maxvalue = get_parameter ("form_maxvalue",0);

View File

@ -35,7 +35,6 @@ if (give_acl ($config["id_user"], 0, "AW")!=1) {
// Check whether we are updataing and get data if so
if ($update_module_id != NULL){
echo "<p>UMid $update_module_id</p>";
$row = get_db_row ("tagente_modulo", 'id_agente_modulo', $update_module_id);
if ($row == 0){
unmanaged_error("Cannot load tnetwork_component reference from previous page");
@ -55,16 +54,16 @@ if ($update_module_id != NULL){
$form_snmp_oid = $row['snmp_oid'];
$form_ip_target = $row['ip_target'];
$form_id_module_group = $row['id_module_group'];
$tbl_flag = $row['flag']; // It doesn't matter
$form_flag = $row['flag'];
$tbl_id_modulo = $row['id_modulo']; // It doesn't matter
$tbl_disabled = $row['disabled'];
$form_id_export = $row['id_export'];
$form_plugin_user = $row['plugin_user'];
$form_plugin_pass = $row['plugin_pass'];
$form_plugin_parameter = $row['plugin_parameter'];
$form_id_plugin = $row['id_plugin']; // It doesn't matter
$form_id_plugin = $row['id_plugin'];
$form_post_process = $row['post_process'];
$tbl_prediction_module = $row['prediction_module']; // It doesn't matter
$form_prediction_module = $row['prediction_module'];
$form_max_timeout = $row['max_timeout'];
if ($tbl_disabled == 1){

View File

@ -35,7 +35,6 @@ if (give_acl($config["id_user"], 0, "AW")!=1) {
// Check whether we are updataing and get data if so
if ($update_module_id != NULL){
echo "<p>UMid $update_module_id</p>";
$row = get_db_row ("tagente_modulo", 'id_agente_modulo', $update_module_id);
if ($row == 0){
unmanaged_error("Cannot load tnetwork_component reference from previous page");
@ -55,16 +54,16 @@ if ($update_module_id != NULL){
$form_snmp_oid = $row['snmp_oid'];
$form_ip_target = $row['ip_target'];
$form_id_module_group = $row['id_module_group'];
$tbl_flag = $row['flag']; // It doesn't matter
$form_flag = $row['flag'];
$tbl_id_modulo = $row['id_modulo']; // It doesn't matter
$tbl_disabled = $row['disabled'];
$form_id_export = $row['id_export'];
$form_plugin_user = $row['plugin_user'];
$form_plugin_pass = $row['plugin_pass'];
$form_plugin_parameter = $row['plugin_parameter'];
$form_id_plugin = $row['id_plugin']; // It doesn't matter
$form_id_plugin = $row['id_plugin'];
$form_post_process = $row['post_process'];
$tbl_prediction_module = $row['prediction_module']; // It doesn't matter
$form_prediction_module = $row['prediction_module'];
$form_max_timeout = $row['max_timeout'];
if ($tbl_disabled == 1){

View File

@ -35,7 +35,6 @@ if (give_acl($config["id_user"], 0, "AW")!=1) {
// Check whether we are updataing and get data if so
if ($update_module_id != NULL){
echo "<p>UMid $update_module_id</p>";
$row = get_db_row ("tagente_modulo", 'id_agente_modulo', $update_module_id);
if ($row == 0){
unmanaged_error("Cannot load tnetwork_component reference from previous page");
@ -55,16 +54,16 @@ if ($update_module_id != NULL){
$form_snmp_oid = $row['snmp_oid'];
$form_ip_target = $row['ip_target'];
$form_id_module_group = $row['id_module_group'];
$tbl_flag = $row['flag']; // It doesn't matter
$form_flag = $row['flag'];
$tbl_id_modulo = $row['id_modulo']; // It doesn't matter
$tbl_disabled = $row['disabled'];
$form_id_export = $row['id_export'];
$form_plugin_user = $row['plugin_user'];
$form_plugin_pass = $row['plugin_pass'];
$form_plugin_parameter = $row['plugin_parameter'];
$form_id_plugin = $row['id_plugin']; // It doesn't matter
$form_id_plugin = $row['id_plugin'];
$form_post_process = $row['post_process'];
$tbl_prediction_module = $row['prediction_module']; // It doesn't matter
$form_prediction_module = $row['prediction_module'];
$form_max_timeout = $row['max_timeout'];
if ($tbl_disabled == 1){

View File

@ -35,7 +35,6 @@ if (give_acl($config["id_user"], 0, "AW")!=1) {
// Check whether we are updataing and get data if so
if ($update_module_id != NULL){
echo "<p>UMid $update_module_id</p>";
$row = get_db_row ("tagente_modulo", 'id_agente_modulo', $update_module_id);
if ($row == 0){
unmanaged_error("Cannot load tnetwork_component reference from previous page");
@ -55,16 +54,16 @@ if ($update_module_id != NULL){
$form_snmp_oid = $row['snmp_oid'];
$form_ip_target = $row['ip_target'];
$form_id_module_group = $row['id_module_group'];
$tbl_flag = $row['flag']; // It doesn't matter
$form_flag = $row['flag'];
$tbl_id_modulo = $row['id_modulo']; // It doesn't matter
$tbl_disabled = $row['disabled'];
$form_id_export = $row['id_export'];
$form_plugin_user = $row['plugin_user'];
$form_plugin_pass = $row['plugin_pass'];
$form_plugin_parameter = $row['plugin_parameter'];
$form_id_plugin = $row['id_plugin']; // It doesn't matter
$form_id_plugin = $row['id_plugin'];
$form_post_process = $row['post_process'];
$tbl_prediction_module = $row['prediction_module']; // It doesn't matter
$form_prediction_module = $row['prediction_module'];
$form_max_timeout = $row['max_timeout'];
if ($tbl_disabled == 1){

View File

@ -35,7 +35,6 @@ if (give_acl($config["id_user"], 0, "AW")!=1) {
// Check whether we are updataing and get data if so
if ($update_module_id != NULL){
echo "<p>UMid $update_module_id</p>";
$row = get_db_row ("tagente_modulo", 'id_agente_modulo', $update_module_id);
if ($row == 0){
unmanaged_error("Cannot load tnetwork_component reference from previous page");
@ -55,16 +54,16 @@ if ($update_module_id != NULL){
$form_snmp_oid = $row['snmp_oid'];
$form_ip_target = $row['ip_target'];
$form_id_module_group = $row['id_module_group'];
$tbl_flag = $row['flag']; // It doesn't matter
$form_flag = $row['flag'];
$tbl_id_modulo = $row['id_modulo']; // It doesn't matter
$tbl_disabled = $row['disabled'];
$form_id_export = $row['id_export'];
$form_plugin_user = $row['plugin_user'];
$form_plugin_pass = $row['plugin_pass'];
$form_plugin_parameter = $row['plugin_parameter'];
$form_id_plugin = $row['id_plugin']; // It doesn't matter
$form_id_plugin = $row['id_plugin'];
$form_post_process = $row['post_process'];
$tbl_prediction_module = $row['prediction_module']; // It doesn't matter
$form_prediction_module = $row['prediction_module'];
$form_max_timeout = $row['max_timeout'];
if ($tbl_disabled == 1){