diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql index 3b37c5d32a..01bcda44c6 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql @@ -40,3 +40,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('big_operation_step_datos_purge INSERT INTO `tconfig` (`token`, `value`) VALUES ('small_operation_step_datos_purge', '1000'); INSERT INTO `tconfig` (`token`, `value`) VALUES ('days_autodisable_deletion', '30'); +-- --------------------------------------------------------------------- +-- Table `tplanned_downtime_agents` +-- --------------------------------------------------------------------- +ALTER TABLE tplanned_downtime_agents ADD COLUMN `manually_disabled` tinyint(1) DEFAULT 0; diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql index 65d6ca5135..40ab03d15b 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql @@ -35,3 +35,7 @@ INSERT INTO tconfig (token, value) VALUES ('big_operation_step_datos_purge', '10 INSERT INTO tconfig (token, value) VALUES ('small_operation_step_datos_purge', '1000'); INSERT INTO tconfig (token, value) VALUES ('days_autodisable_deletion', '30'); +-- --------------------------------------------------------------------- +-- Table `tplanned_downtime_agents` +-- --------------------------------------------------------------------- +ALTER TABLE tplanned_downtime_agents ADD COLUMN manually_disabled NUMBER(5, 0) DEFAULT 0; diff --git a/pandora_console/godmode/setup/setup_general.php b/pandora_console/godmode/setup/setup_general.php index ee5f2b4cf1..5bb3c0bffc 100644 --- a/pandora_console/godmode/setup/setup_general.php +++ b/pandora_console/godmode/setup/setup_general.php @@ -277,6 +277,17 @@ $table->data[34][0] = __('Limit parameters massive') . $table->data[34][1] = html_print_input_text('limit_parameters_massive', $config['limit_parameters_massive'], '', 10, 10, true); +$table->data[35][0] = __('Include agents'); +$table->data[35][1] = __('Yes').' '.html_print_radio_button ('include_agents', 1, '', $config["include_agents"], true).' '; +$table->data[35][1] .= __('No').' '.html_print_radio_button ('include_agents', 0, '', $config["include_agents"], true); + /*$row = array(); + $row[0] = __('Include agents'); + + $row[1] = __('Yes') . ' ' . html_print_radio_button ('include_agents', 1, '', $config["include_agents"], true) . ' '; + $row[1] .= __('No') . ' ' . html_print_radio_button ('include_agents', 0, '', $config["include_agents"], true); + + $data['include_agents'] = $row;*/ + echo '