diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index dfd9c428b1..4cdc4aa487 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,18 @@ +2007-06-17 Sancho Lerena + + * include/languages/language_en.php: Just a few words added. + + * pandoradb.sql: Added disable field for alerts. + + * operation/agentes/estado_alertas.php: Show disabled alerts. + + * godmode/agentes/configurar_agente.php, + godmode/agentes/alert_manager.php: Allow to disable individual + alerts. + + * godmode/reporting/map_builder.php: First version of map + builder. It doesnt work yet, but has some features implemented. + 2007-06-16 Raul Mateos * godmode/menu.php: Updated component groups highlight. @@ -20,11 +35,13 @@ 2007-06-13 Raul Mateos - * godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css, - include/god.css: Updated with styles to avoid top and bottom border. + * godmode/menu.php, operation/menu.php, include/pandora.css, + include/op.css, include/god.css: Updated with styles to avoid top + and bottom border. - * godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php, - godmode/servers/*.php, operation/snmpconsole/snmp_alert.php, + * godmode/groups/group_list.php, godmode/users/*.php, + operation/users/*.php, godmode/servers/*.php, + operation/snmpconsole/snmp_alert.php, godmode/reporting/map_builder.php, operation/messages/message.php: Removed old raya style and changed to new style. diff --git a/pandora_console/godmode/agentes/alert_manager.php b/pandora_console/godmode/agentes/alert_manager.php index 62f8b1cba7..53ed0efea0 100644 --- a/pandora_console/godmode/agentes/alert_manager.php +++ b/pandora_console/godmode/agentes/alert_manager.php @@ -60,13 +60,18 @@ $result=mysql_query($sql1); $row4=mysql_fetch_array($result4); // Alert name defined by $row4["nombre"]; $nombre_alerta = $row4["nombre"]; - $string = $string."".$nombre_modulo; + $string = $string."".$nombre_modulo; - if ($id_tipo > 0) { - $string .= ""; + if ($row3["disable"] == 1){ + $string .= "".$lang_label["disabled"].""; + } else { + if ($id_tipo > 0) { + $string .= ""; + } else + $string .= ""; } - $string = $string."".$nombre_alerta; + $string = $string."".human_time_description($row3["time_threshold"]); $mytempdata = fmod($row3["dis_min"], 1); @@ -82,6 +87,7 @@ $result=mysql_query($sql1); else $mymax = $row3["dis_max"]; $mymax = format_for_graph($mymax ); + // We have alert text ? if ($row3["alert_text"] != "") $string = $string."".$lang_label["text"]; @@ -143,70 +149,95 @@ if ($update_alert != 1) { } ?> + + "; + echo ""; + echo ""; + echo ""; + echo ""; + echo "
"; + + echo ""; + echo $lang_label["alert_status"]; + echo ""; + echo '"; + + +echo '
'.$lang_label["min_value"]; +echo " ";echo $lang_label["min_valid_value_help"].""; +echo ''; + +echo ""; +echo $lang_label["max_value"]; +echo " "; +echo $lang_label["max_valid_value_help"]; +echo ""; +echo ""; +echo ""; + +// + +echo '
'.$lang_label["alert_text"]." Regular Expression Supported "; +echo ''; + + +echo '
'.$lang_label["description"]; +echo ''; + ?> - - -
-  - - - -  - - - -     - - - -
  -Regular Expression Supported - - - -
- - -
  +
+ + Macros:
_agent_
_timestamp_
_data_
-
-
  + + +
+ + Macros:
_agent_
_timestamp_
_data_
-
-
  + +
+ + Macros:
_agent_
_timestamp_
_data_
-
+
  - + - -    +   -
- - - -    - +".$lang_label["min_alerts"]; + echo ''; + echo ''; + echo ''; + echo $lang_label["max_alerts"]; + echo ''; + echo ''; +?> +
- + '; - $sql2='SELECT id_agente_modulo, id_tipo_modulo, nombre FROM tagente_modulo WHERE id_agente = '.$id_agente; + $sql2 = "SELECT id_agente_modulo, id_tipo_modulo, nombre FROM tagente_modulo WHERE id_agente = $id_agente ORDER BY nombre"; $result2=mysql_query($sql2); while ($row2=mysql_fetch_array($result2)){ if ($row2["id_tipo_modulo"] != -1) { $sql1='SELECT nombre FROM ttipo_modulo WHERE id_tipo = '.$row2["id_tipo_modulo"]; $result=mysql_query($sql1); while ($row=mysql_fetch_array($result)){ - echo ""; + echo ""; } } else // for -1, is a special module, keep alive monitor !! echo ""; } echo ""; } else { - echo "".$lang_label["no_change_field"].""; + $agentmodule_name = give_db_value ("nombre", "tagente_modulo", "id_agente_modulo", $alerta_id_agentemodulo); + echo $agentmodule_name; } // End block only if $creacion_agente != 1; diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 84c1a37106..2ae5748958 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -65,7 +65,8 @@ $alerta_campo2 = ""; $alerta_campo3 =""; $alerta_dis_max = ""; $alerta_dis_min = ""; -$alerta_max_alerts = ""; +$alerta_min_alerts = "0"; +$alerta_max_alerts = "1"; $alerta_time_threshold = ""; $alerta_descripcion = ""; $disabled=""; @@ -225,11 +226,12 @@ if (isset($_POST["insert_alert"])){ // if created alert $max_alerts = entrada_limpia($_POST["max_alerts"]); $min_alerts = entrada_limpia($_POST["min_alerts"]); $other = entrada_limpia($_POST["other"]); + $disable_alert = entrada_limpia($_POST["disable_alert"]); if ($time_threshold == -1) { $time_threshold = $other; } $sql_insert="INSERT INTO talerta_agente_modulo - (id_agente_modulo,id_alerta,al_campo1,al_campo2,al_campo3,descripcion,dis_max,dis_min,time_threshold,max_alerts, min_alerts, alert_text) VALUES + (id_agente_modulo,id_alerta,al_campo1,al_campo2,al_campo3,descripcion,dis_max,dis_min,time_threshold,max_alerts, min_alerts, alert_text, disable) VALUES ('$id_agente_modulo', '$tipo_alerta', '$campo_1', @@ -241,7 +243,8 @@ if (isset($_POST["insert_alert"])){ // if created alert '$time_threshold', '$max_alerts', '$min_alerts', - '$alert_text')"; + '$alert_text', + '$disable_alert')"; $result=mysql_query($sql_insert); if (! $result) { echo "

".$lang_label["create_alert_no"]."

"; @@ -270,6 +273,7 @@ if (isset($_POST["update_alert"])){ // Update an existing alert $min_alerts = entrada_limpia($_POST["min_alerts"]); $other = entrada_limpia($_POST["other"]); $alert_text = entrada_limpia($_POST["alert_text"]); + $disable_alert = entrada_limpia($_POST["disable_alert"]); if ($time_threshold == -1) { $time_threshold = $other; } @@ -285,7 +289,8 @@ if (isset($_POST["update_alert"])){ // Update an existing alert al_campo2 = '$campo_2' , al_campo1 = '$campo_1' , descripcion = '$descripcion', - alert_text = '$alert_text' + alert_text = '$alert_text', + disable = '$disable_alert' WHERE id_aam = ".$id_aam; $result=mysql_query($sql_insert); if (! $result) { @@ -434,6 +439,8 @@ if (isset($_GET["update_alert"])){ $alerta_min_alerts = $row["min_alerts"]; $alerta_time_threshold = $row["time_threshold"]; $alerta_descripcion = $row["descripcion"]; + $alerta_disable = $row["disable"]; + $alerta_id_agentemodulo = $row["id_agente_modulo"]; // Only to show, cannot be changed } } diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 30c98c4982..5295f6a39d 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -45,7 +45,7 @@ if (isset($_GET["get_agent"])) { // Delete module SQL code if (isset($_GET["delete"])){ $id_content = $_GET["delete"]; - $sql = "DELETE FROM treport_content WHERE id_rc = $id_content"; + $sql = "DELETE FROM tlayout_data WHERE id = $id_content"; if ($res=mysql_query($sql)) $result = "

".$lang_label["delete_ok"]."

"; else @@ -56,8 +56,8 @@ if (isset($_GET["delete"])){ // Delete module SQL code if (isset($_GET["delete_report"])){ $id = $_GET["delete_report"]; - $sql = "DELETE FROM treport_content WHERE id_report = $id"; - $sql2 = "DELETE FROM treport WHERE id_report = $id"; + $sql = "DELETE FROM tlayout_data WHERE id_layout = $id"; + $sql2 = "DELETE FROM tlayout WHERE id = $id"; $res=mysql_query($sql); $res2=mysql_query($sql2); if ($res AND $res2) @@ -77,7 +77,7 @@ if (isset($_GET["add_module"])){ if (isset($_POST["id_report"])) $id_report = $_POST["id_report"]; else { - audit_db($id_user,$REMOTE_ADDR, "Hack attempt","Parameter trash in report builder"); + audit_db($id_user,$REMOTE_ADDR, "Hack attempt","Parameter trash in map builder"); include ("general/noaccess.php"); exit; } @@ -90,7 +90,7 @@ if (isset($_GET["add_module"])){ $my_slamin = entrada_limpia($_POST["sla_min"]); $my_slalimit = entrada_limpia($_POST["sla_limit"]); - $sql = "INSERT INTO treport_content (id_report, id_gs, id_agent_module, type, sla_max, sla_min, sla_limit, period) VALUES ('$id_report', '$my_cg', '$my_id_module', '$my_type', '$my_slamax', '$my_slamin', '$my_slalimit', '$my_period')"; + $sql = "INSERT INTO tlayout_data (id_layout, id_gs, id_agent_module, type, sla_max, sla_min, sla_limit, period) VALUES ('$id_report', '$my_cg', '$my_id_module', '$my_type', '$my_slamax', '$my_slamin', '$my_slalimit', '$my_period')"; if ($res=mysql_query($sql)) $result = "

".$lang_label["create_ok"]."

"; else @@ -101,48 +101,46 @@ if (isset($_GET["add_module"])){ // Create item SQL code if (isset($_POST["createmode"])){ $createmode = $_POST["createmode"]; - $form_report_name = entrada_limpia($_POST["report_name"]); - $form_report_description = entrada_limpia($_POST["report_description"]); - if (isset($_POST["report_private"])) - $form_report_private = entrada_limpia($_POST["report_private"]); - else - $form_report_private = 0; + $map_name = entrada_limpia($_POST["map_name"]); + $map_background = entrada_limpia($_POST["map_background"]); + $map_width = entrada_limpia($_POST["map_width"]); + $map_height = entrada_limpia($_POST["map_height"]); + // INSERT REPORT DATA if ($createmode == 1){ $form_id_user = $id_user; - $sql = "INSERT INTO treport (name, description, id_user, private) VALUES ('$form_report_name', '$form_report_description', '$form_id_user', '$form_report_private')"; + $sql = "INSERT INTO tlayout (name, background, width, height) VALUES ('$map_name', '$map_background', '$map_width', '$map_height')"; if ($res=mysql_query($sql)) $result = "

".$lang_label["create_ok"]."

"; else $result = "

".$lang_label["create_no"]."

"; - $id_report = mysql_insert_id(); + $id_map = mysql_insert_id(); // UPDATE REPORT DATA } else { - $form_id_report = entrada_limpia($_POST["id_report"]); - $id_report = $form_id_report; - $sql = "UPDATE treport SET name = '$form_report_name', description = '$form_report_description', private = '$form_report_private' WHERE id_report = $form_id_report"; + $id_map = entrada_limpia($_POST["id_map"]); + $sql = "UPDATE tlayout SET name = '$map_name', height= '$map_height', width = '$map_width', background = '$map_background' WHERE id = $id_map"; if ($res=mysql_query($sql)) $result = "

".$lang_label["modify_ok"]."

"; else $result = "

".$lang_label["modify_no"]."

"; } echo $result; - if ($id_report != ""){ - $_GET["id"]=$id_report; + if ($id_map != ""){ + $_GET["id"] = $id_map; $createmode=0; } } // GET DATA OF REPORT // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { +if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_map"]))) { if (isset($_GET["id"])) - $id_report = $_GET["id"]; - elseif (isset($_POST["id_report"])) - $id_report = $_POST["id_report"]; + $id_map = $_GET["id"]; + elseif (isset($_POST["id_map"])) + $id_map = $_POST["id_map"]; else - $id_report = -1; + $id_map = -1; if (isset($_POST["id_agent"])) $id_agent = $_POST["id_agent"]; @@ -150,51 +148,51 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { $id_agent = 0; if ($createmode != 2){ $createmode = 0; - $sql = "SELECT * FROM treport WHERE id_report = $id_report"; + $sql = "SELECT * FROM tlayout WHERE id = $id_map"; $res=mysql_query($sql); if ($row = mysql_fetch_array($res)){ - $form_report_name = $row["name"]; - $form_report_description = $row["description"]; - $form_report_private = $row["private"]; - $form_id_user = $row["id_user"]; + $map_name = $row["name"]; + $map_background = $row["background"]; + $map_width = $row["width"]; + $map_height = $row["height"]; } } else { - $form_report_name = ""; - $form_report_description = ""; - $form_report_private = 0; - $form_id_user = $id_user; + $map_name = ""; + $map_background = ""; + $map_width = ""; + $map_height = ""; $createmode = 1; } echo "

".$lang_label["reporting"]." > "; - echo $lang_label["custom_reporting_builder"]."

"; - echo "
"; + echo $lang_label["map_builder"].""; + echo ""; echo ""; if ($createmode == 0){ - echo ""; + echo ""; } - echo ""; + + echo "
"; echo "
"; echo $lang_label["report_name"]; echo ""; - echo ""; + echo ""; echo "
"; - echo $lang_label["private"]; + echo $lang_label["background"]; echo ""; - if ($form_report_private == 1) - echo ""; - else - echo ""; + echo ""; - echo "
"; - echo $lang_label["description"]; - echo ""; - echo ""; + echo "
"; + echo $lang_label["width"]; + echo ""; + echo ""; + echo "
"; + echo $lang_label["height"]; + echo ""; + echo ""; // Button echo "
"; @@ -217,8 +215,8 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { // ---------------------- echo ""; - echo ""; - echo ""; + echo ""; + echo ""; echo ""; echo ""; - echo ""; - echo ""; + echo "".$lang_label["pos_x"].""; echo "
".$lang_label["source_agent"].""; @@ -240,8 +238,8 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { // Modules combo // ----------------------- - echo ""; - echo ""; + echo ""; + echo ""; if (isset($id_agent)) echo ""; @@ -265,35 +263,15 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { echo "".$lang_label["reporting_type"].""; echo ""; echo ""; - // Custom graph - // ----------------------- - echo "
"; - echo "".$lang_name["custom_graph_name"].""; - echo ""; - echo ""; - - // Period - echo "
"; + echo "
"; echo "".$lang_label["period"].""; - echo ""; + echo ""; echo ""; - // SLA Max - echo "
"; - echo "".$lang_label["sla_max"].""; - echo ""; - // SLA Min - echo ""; - echo "".$lang_label["sla_min"].""; - echo ""; - - // SLA limit echo "
"; - echo "".$lang_label["sla_limit"].""; - echo ""; - echo "
"; + echo ""; + + echo "
"; + echo "".$lang_label["pos_y"].""; + echo ""; + + + echo "
"; + echo "".$lang_label["height"].""; + echo ""; + + echo ""; + echo "".$lang_label["width"].""; + echo ""; + + + echo "
"; + echo "".$lang_label["label"].""; + echo ""; + + echo "
"; + echo "".$lang_label["image"].""; + echo ""; + + + echo "
"; + echo "".$lang_label["map_linked"].""; + echo ""; + echo ""; + + echo "
"; + echo "".$lang_label["parent_item"].""; + echo ""; + echo ""; + + echo "
"; + echo "".$lang_label["label_color"].""; + echo ""; + echo ""; + + echo ""; + echo "".$lang_label["link_color"].""; + echo ""; + echo ""; + + + + echo "
"; + echo ""; echo " - + + "; - $sql = "SELECT * FROM treport_content WHERE id_report = $id_report"; + $sql = "SELECT * FROM tlayout_data WHERE id_layout = $id_map"; $res=mysql_query($sql); $color = 0; while ($row = mysql_fetch_array($res)){ @@ -358,21 +397,17 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { $tdcolor = "datos2"; $color = 1; } - $id_rc = $row["id_rc"]; + $id_layoutdata = $row["id"]; $type = $row["type"]; switch ($type){ - case "0": $type_desc = "Graph"; break; - case "1": $type_desc = "User graph"; break; - case "2": $type_desc = "SLA"; break; - case "3": $type_desc = "Event report"; break; - case "4": $type_desc = "Alert report"; break; - case "5": $type_desc = "Monitor report"; break; - case "6": $type_desc = "Avg.Value"; break; - case "7": $type_desc = "Max.Value"; break; - case "8": $type_desc = "Min.Value"; break; + case "0": $type_desc = "Single graph"; break; + case "1": $type_desc = "Module graph"; break; + case "2": $type_desc = "Line"; break; } $period = $row["period"]; - $id_am = $row["id_agent_module"]; + $id_am = $row["id_agente_modulo"]; + $x = $row["pos_x"]; + $y = $row["pos_y"]; $name = "N/A"; $agent_name = "N/A"; if ($id_am != ""){ @@ -383,11 +418,10 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { echo ""; echo ""; echo ""; - echo ""; + echo ""; + echo ""; echo "
"; @@ -342,10 +380,11 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { echo "
".$lang_label["type"]." ".$lang_label["agent_name"]." ".$lang_label["module_name"]."".$lang_label["period"]."".$lang_label["pos_x"]."".$lang_label["pos_y"]." ".$lang_label["delete"]."
".$type_desc."".$agent_name."".$module_name."".$period."".$x."".$y.""; - if ($form_id_user == $id_user){ - echo ""; - } + echo ""; } echo "
"; } @@ -399,15 +433,16 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { echo ""; echo " - + + "; $color=1; - $sql="SELECT * FROM tgraph"; + $sql="SELECT * FROM tlayout"; $res=mysql_query($sql); while ($row = mysql_fetch_array($res)){ - if (($row["private"]==0) OR ($row["id_user"] == $id_user) OR (dame_admin($id_user)==1)){ + if ((dame_admin($id_user)==1)){ // Calculate table line color if ($color == 1){ $tdcolor = "datos"; @@ -419,10 +454,11 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) { } echo ""; echo ""; - echo ""; - $id_graph = $row["id_graph"]; - echo ""; + echo ""; + $id_map = $row["id"]; + echo "
".$lang_label["map_name"]."".$lang_label["description"]."".$lang_label["background"]."".$lang_label["size"]." ".$lang_label["Manage"]." ".$lang_label["delete"]."
".$row["name"]."".$row["description"].""; - echo ""; + echo "".$row["background"]."".$row["width"]."x".$row["height"].""; + echo ""; } } echo "
"; diff --git a/pandora_console/include/languages/language_en.php b/pandora_console/include/languages/language_en.php index b32381b6e7..42408ec809 100644 --- a/pandora_console/include/languages/language_en.php +++ b/pandora_console/include/languages/language_en.php @@ -851,6 +851,24 @@ $lang_label["two_month"]="Two monts"; $lang_label["six_months"]="Six months"; $lang_label["min."]="Min."; $lang_label["max."]="Max."; +$lang_label["alert_status"]="Alert status"; +$lang_label["background"]="Background"; +$lang_label["private"]="Private"; +$lang_label["width"]="Width"; +$lang_label["height"]="Height"; +$lang_label["static_graph"]="Static graph"; +$lang_label["line"]="Line"; +$lang_label["pos_x"]="Position X"; +$lang_label["pos_y"]="Position Y"; +$lang_label["image"]="Image"; +$lang_label["label"]="Label"; +$lang_label["parent_item"]="Parent item"; +$lang_label["map_linked"]="Map linked"; +$lang_label["link_color"]="Link color"; +$lang_label["label_color"]="Label color"; +$lang_label["white"]="White"; +$lang_label["black"]="Black"; + global $lang_label; global $help_label; ?> diff --git a/pandora_console/operation/agentes/estado_alertas.php b/pandora_console/operation/agentes/estado_alertas.php index 6ef7d80d6a..d2728c8f05 100644 --- a/pandora_console/operation/agentes/estado_alertas.php +++ b/pandora_console/operation/agentes/estado_alertas.php @@ -46,7 +46,7 @@ if (isset($_GET["id_agente"])){ echo "

".$lang_label["ag_title"]." > ".$lang_label["alert_listing"]."".$lang_label["help"]."

"; } $id_agente = $_GET["id_agente"]; - $query_gen='SELECT talerta_agente_modulo.alert_text, talerta_agente_modulo.id_alerta, talerta_agente_modulo.descripcion, talerta_agente_modulo.last_fired, talerta_agente_modulo.times_fired, tagente_modulo.nombre, talerta_agente_modulo.dis_max, talerta_agente_modulo.dis_min, talerta_agente_modulo.max_alerts, talerta_agente_modulo.time_threshold, talerta_agente_modulo.min_alerts, talerta_agente_modulo.id_agente_modulo, tagente_modulo.id_agente_modulo FROM tagente_modulo, talerta_agente_modulo WHERE tagente_modulo.id_agente = '.$id_agente.' AND tagente_modulo.id_agente_modulo = talerta_agente_modulo.id_agente_modulo ORDER BY tagente_modulo.nombre'; + $query_gen='SELECT talerta_agente_modulo.alert_text, talerta_agente_modulo.id_alerta, talerta_agente_modulo.descripcion, talerta_agente_modulo.last_fired, talerta_agente_modulo.times_fired, tagente_modulo.nombre, talerta_agente_modulo.dis_max, talerta_agente_modulo.dis_min, talerta_agente_modulo.max_alerts, talerta_agente_modulo.time_threshold, talerta_agente_modulo.min_alerts, talerta_agente_modulo.id_agente_modulo, tagente_modulo.id_agente_modulo FROM tagente_modulo, talerta_agente_modulo WHERE tagente_modulo.id_agente = '.$id_agente.' AND tagente_modulo.id_agente_modulo = talerta_agente_modulo.id_agente_modulo AND talerta_agente_modulo.disable = 0 ORDER BY tagente_modulo.nombre'; $result_gen=mysql_query($query_gen); if (mysql_num_rows ($result_gen)) { @@ -178,7 +178,8 @@ if (isset($_GET["id_agente"])){ tagente_modulo.id_agente_modulo FROM tagente_modulo, talerta_agente_modulo WHERE tagente_modulo.id_agente = '.$id_agente.' - AND tagente_modulo.id_agente_modulo = talerta_agente_modulo.id_agente_modulo'; + AND tagente_modulo.id_agente_modulo = talerta_agente_modulo.id_agente_modulo + AND talerta_agente_modulo.disable = 0 '; $result_gen=mysql_query($query_gen); if (mysql_num_rows ($result_gen)) { while ($data=mysql_fetch_array($result_gen)){ diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 3b6086dd7a..8d3d5722cc 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -179,6 +179,7 @@ CREATE TABLE `talerta_agente_modulo` ( `min_alerts` int(4) NOT NULL default '0', `internal_counter` int(4) default '0', `alert_text` varchar(255) default '', + `disable` int(4) default '0', PRIMARY KEY (`id_aam`) ) ENGINE=InnoDB;