diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4e28d7df32..45a0a5654f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,14 @@ +2013-03-05 Sergio Martin + + * pandoradb_data.sql + pandoradb.data.postgreSQL.sql + pandoradb.data.oracle.sql + extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql + extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql + extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added CPU + and Process inventory change types to black list in default + SQL data script for bug 3606111 + 2013-03-05 Miguel de Dios * extensions/snmp_explorer.php: improved the code style. diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index 8d1cec042c..4d071365af 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -237,7 +237,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('meta_style', 'meta_pandora'), ('enable_refr', 0), ('show_vc', 1), - ('meta_num_elements', 100); + ('meta_num_elements', 100), + ('inventory_changes_blacklist', '1,2,20,21'); UPDATE tconfig SET `value`='comparation' WHERE `token`= 'prominent_time'; -- ---------------------------------------------------------------------- diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index 5038bcad6b..1082fe494c 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -282,6 +282,7 @@ INSERT INTO tconfig (token, value) VALUES ('meta_style', 'meta_pandora'); INSERT INTO tconfig (token, value) VALUES ('enable_refr', 0); INSERT INTO tconfig (token, value) VALUES ('show_vc', 1); INSERT INTO tconfig (token, value) VALUES ('meta_num_elements', 1); +INSERT INTO tconfig (token, value) VALUES ('inventory_changes_blacklist', '1,2,20,21'); -- ----------------------------------------------------- -- Table tpassword_history diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index 279b429a16..b2c3468f5d 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -297,7 +297,8 @@ INSERT INTO "tconfig" ("token", "value") VALUES ('meta_style', 'meta_pandora'), ('enable_refr', 0), ('show_vc', 1), -('meta_num_elements', 100); +('meta_num_elements', 100), +('inventory_changes_blacklist', '1,2,20,21'); -- ----------------------------------------------------- -- Table "tpassword_history" diff --git a/pandora_console/pandoradb.data.oracle.sql b/pandora_console/pandoradb.data.oracle.sql index dfff4c0991..d70afab6e6 100644 --- a/pandora_console/pandoradb.data.oracle.sql +++ b/pandora_console/pandoradb.data.oracle.sql @@ -111,6 +111,7 @@ INSERT INTO tconfig (token, value) VALUES ('meta_num_elements', 100); INSERT INTO tconfig (token, value) VALUES ('update_manager_installed', 1); INSERT INTO tconfig (token, value) VALUES ('num_files_attachment', 100); INSERT INTO tconfig (token, value) VALUES ('show_vc', 1); +INSERT INTO tconfig (token, value) VALUES ('inventory_changes_blacklist', '1,2,20,21'); COMMIT; END;; diff --git a/pandora_console/pandoradb.data.postgreSQL.sql b/pandora_console/pandoradb.data.postgreSQL.sql index 05f9610d90..a07b528faf 100644 --- a/pandora_console/pandoradb.data.postgreSQL.sql +++ b/pandora_console/pandoradb.data.postgreSQL.sql @@ -106,7 +106,8 @@ INSERT INTO "tconfig" ("token", "value") VALUES ('meta_num_elements', 100), ('update_manager_installed', 1), ('num_files_attachment', 100), -('show_vc', 1); +('show_vc', 1), +('inventory_changes_blacklist', '1,2,20,21'); COMMIT WORK; diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 9e16aefc6a..08b5e8239b 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -93,7 +93,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('meta_num_elements', 100), ('update_manager_installed', 1), ('num_files_attachment', 250), -('show_vc', 1); +('show_vc', 1), +('inventory_changes_blacklist', '1,2,20,21'); UNLOCK TABLES;