Added changes in helps

Former-commit-id: 863eec78c48a3a29b62326dc7ef2609b2990819c
This commit is contained in:
manuel 2019-04-30 10:44:53 +02:00
parent 6bd8221bc0
commit 7045e59e87
2 changed files with 539 additions and 27 deletions

View File

@ -34,7 +34,13 @@ $pure = get_parameter('pure', 0);
// Header
if (! defined('METACONSOLE')) {
ui_print_page_header(__('Manage Netflow Filter'), 'images/gm_netflow.png', false, '', true);
ui_print_page_header(
__('Manage Netflow Filter'),
'images/gm_netflow.png',
false,
'pcap_filter',
true
);
$is_windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN';
if ($is_windows) {

View File

@ -4121,7 +4121,11 @@ function get_help_info($section_name)
break;
case 'alert_config':
if ($es) {
$result .= 'Alertas&printable=yes#Creaci.C3.B3n_de_una_Acci.C3.B3n';
} else {
$result .= 'Alerts&printable=yes#Creating_an_Action';
}
break;
case 'alert_fields_description':
@ -4133,7 +4137,11 @@ function get_help_info($section_name)
break;
case 'alert_macros':
if ($es) {
$result .= 'Alertas&printable=yes#Macros_sustituibles_en_los_campos_Field1.2C_Field2.2C_Field3..._Field10';
} else {
$result .= 'Alerts&printable=yes#Replaceable_Macros_within_Field_1_through_Field_10';
}
break;
case 'alert-matches':
@ -4145,15 +4153,27 @@ function get_help_info($section_name)
break;
case 'alerts_config':
if ($es) {
$result .= 'Alertas&printable=yes#Configuraci.C3.B3n_de_alertas_en_Pandora_FMS';
} else {
$result .= 'Alerts&printable=yes#Alert_Configuration_in_Pandora_FMS';
}
break;
case 'alert_special_days':
if ($es) {
$result .= 'Alertas&printable=yes#Lista_de_d.C3.ADas_especiales';
} else {
$result .= 'Alerts&printable=yes#List_of_special_days';
}
break;
case 'alerts':
if ($es) {
$result .= 'Politicas&printable=yes#Alertas';
} else {
$result .= 'Policy&printable=yes#Alerts';
}
break;
case 'alert_template':
@ -4173,7 +4193,11 @@ function get_help_info($section_name)
break;
case 'collections':
if ($es) {
$result .= 'Politicas&printable=yes#Colecciones_de_ficheros';
} else {
$result .= 'Policy&printable=yes#File_Collections';
}
break;
case 'collection_tab':
@ -4185,7 +4209,11 @@ function get_help_info($section_name)
break;
case 'component_groups':
if ($es) {
$result .= 'Plantillas_y_Componentes&printable=yes#Grupos_de_componentes';
} else {
$result .= 'Templates_and_components&printable=yes#Component_Groups';
}
break;
case 'conf_alert_template':
@ -4237,7 +4265,11 @@ function get_help_info($section_name)
break;
case 'event_alert':
if ($es) {
$result .= 'Eventos&printable=yes#Introducci.C3.B3n_2';
} else {
$result .= 'Events&printable=yes#Introduction_2';
}
break;
case 'events_history':
@ -4257,11 +4289,19 @@ function get_help_info($section_name)
break;
case 'export_server':
if ($es) {
$result .= 'ExportServer&printable=yes#A.C3.B1adir_un_servidor_de_destino';
} else {
$result .= 'Export_Server&printable=yes#Adding_a_Target_Server';
}
break;
case 'external_alert':
if ($es) {
$result .= 'Politicas&printable=yes#Alertas_Externas';
} else {
$result .= 'Policy&printable=yes#External_Alerts';
}
break;
case 'field_match_snmp':
@ -4278,11 +4318,9 @@ function get_help_info($section_name)
case 'gis_tab':
if ($es) {
$result = 3031;
$result['section'][] = 'Configuraci.C3.B3n_del_Agent_GIS';
$result .= 'Pandora_GIS&printable=yes#Configuraci.C3.B3n_del_Agent_GIS';
} else {
$result = 2876;
$result['section'][] = 'The_Agent.27s_GIS_Setup';
$result .= 'GIS&printable=yes#The_Agent.27s_GIS_Setup';
}
break;
@ -4319,7 +4357,11 @@ function get_help_info($section_name)
break;
case 'history_database':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Base_de_datos_hist.C3.B3rica';
} else {
$result .= 'Console_Setup&printable=yes#The_History_Database';
}
break;
case 'integria_url':
@ -4548,7 +4590,11 @@ function get_help_info($section_name)
break;
case 'module_linking':
if ($es) {
$result .= 'Politicas&printable=yes#Tipos_de_m.C3.B3dulos';
} else {
$result .= 'Policy&printable=yes#Types_of_Modules';
}
break;
case 'module_tokens':
@ -4618,7 +4664,11 @@ function get_help_info($section_name)
break;
case 'pcap_filter':
if ($es) {
$result .= 'Netflow&printable=yes#Creaci.C3.B3n_del_filtro';
} else {
$result .= 'Netflow&printable=yes#Filter_creation';
}
break;
case 'performance':
@ -4642,7 +4692,11 @@ function get_help_info($section_name)
break;
case 'plugin_definition':
if ($es) {
$result .= 'Anexo_Server_Plugins&printable=yes#Registro_manual_de_un_plugin_en_la_consola';
} else {
$result .= 'Anexo_Server_plugins_developement&printable=yes#Plugin_manual_registration';
}
break;
case 'plugin_macros':
@ -4654,7 +4708,11 @@ function get_help_info($section_name)
break;
case 'plugin_policy':
if ($es) {
$result .= 'Politicas&printable=yes#Plugins_de_agente';
} else {
$result .= 'Policy&printable=yes#Agent_Plug_Ins';
}
break;
case 'policy_agent':
@ -4662,7 +4720,11 @@ function get_help_info($section_name)
break;
case 'policy_queue':
if ($es) {
$result .= 'Politicas&printable=yes#Gesti.C3.B3n_de_la_cola_de_pol.C3.ADticas';
} else {
$result .= 'Policy&printable=yes#Policy_Queues_Management';
}
break;
case 'prediction_date':
@ -4786,11 +4848,19 @@ function get_help_info($section_name)
break;
case 'response_macros':
if ($es) {
$result .= 'Eventos&printable=yes#Event_Responses_macros';
} else {
$result .= 'Events&printable=yes#Event_Responses_macros';
}
break;
case 'response_parameters':
case 'events_responses_tab':
if ($es) {
$result .= 'Eventos&printable=yes#Introducci.C3.B3n_3';
} else {
$result .= 'Events&printable=yes#Introduction_3';
}
break;
case 'serverlag':
@ -4798,7 +4868,11 @@ function get_help_info($section_name)
break;
case 'servers':
if ($es) {
$result .= 'Interfaz&printable=yes#Gesti.C3.B3n_de_servidores';
} else {
$result .= 'Interface&printable=yes#Server_management';
}
break;
case 'service_elements_management':
@ -4902,7 +4976,11 @@ function get_help_info($section_name)
break;
case 'tags_config':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Sistemas_de_permisos_ampliados_mediante_etiquetas_.28tags.29';
} else {
$result .= 'Managing_and_Administration&printable=yes#Permission_system_extended_by_tags';
}
break;
case 'tcp_send':
@ -4954,7 +5032,11 @@ function get_help_info($section_name)
break;
case 'view_services':
if ($es) {
$result .= 'Servicios&printable=yes#Introducci.C3.B3n';
} else {
$result .= 'Services&printable=yes#Introduction';
}
break;
case 'visual_console_editor_data_tab':
@ -5005,6 +5087,430 @@ function get_help_info($section_name)
}
break;
case 'view_created_map_services_tab':
if ($es) {
$result .= 'Servicios&printable=yes#Vista_de_mapa_de_servicio';
} else {
$result .= 'Services&printable=yes#Service_Map_View';
}
break;
case 'view_created_services_tab':
if ($es) {
$result .= 'Servicios&printable=yes#Lista_simple_de_un_servicio_y_todos_los_elementos_que_contiene';
} else {
$result .= 'Services&printable=yes#List-based_view_of_a_Service_and_its_Elements';
}
break;
case 'config_service_element_tab':
if ($es) {
$result .= 'Servicios&printable=yes#Configuraci.C3.B3n_de_elementos';
} else {
$result .= 'Services&printable=yes#Element_Configuration';
}
break;
case 'config_service_tab':
if ($es) {
$result .= 'Servicios&printable=yes#Configuraci.C3.B3n_inicial';
} else {
$result .= 'Services&printable=yes#Initial_Configuration';
}
break;
case 'other_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Otra_configuraci.C3.B3n';
} else {
$result .= 'Console_Setup&printable=yes#Other_configuration';
}
break;
case 'services_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_servicios';
} else {
$result .= 'Console_Setup&printable=yes#Services_configuration';
}
break;
case 'visual_consoles_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_de_las_consolas_visuales';
} else {
$result .= 'Console_Setup&printable=yes#Visual_console_configuration';
}
break;
case 'charts_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_de_gr.C3.A1ficas';
} else {
$result .= 'Console_Setup&printable=yes#Chart_settings';
}
break;
case 'front_and_text_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_de_Fuente_y_texto';
} else {
$result .= 'Console_Setup&printable=yes#Font_and_text_settings';
}
break;
case 'gis_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_GIS';
} else {
$result .= 'Console_Setup&printable=yes#GIS_configuration';
}
break;
case 'style_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_de_estilo';
} else {
$result .= 'Console_Setup&printable=yes#Style_configuration';
}
break;
case 'behavoir_conf_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Configuraci.C3.B3n_del_comportamiento';
} else {
$result .= 'Console_Setup&printable=yes#Behaviour_configuration';
}
break;
case 'setup_ehorus_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#eHorus';
} else {
$result .= 'Console_Setup&printable=yes#EHorus';
}
break;
case 'diagnostic_tool_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Diagnostic_tool';
} else {
$result .= 'Managing_and_Administration&printable=yes#Diagnostic_tool';
}
break;
case 'performance_metrics_tab':
if ($es) {
$result .= 'Optimizacion&printable=yes#Comprobaci.C3.B3n_del_fichero_my.ini.2Fcnf';
} else {
$result .= 'Optimization&printable=yes#Check_my.ini.2Fcnf_settings';
}
break;
case 'db_status_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#DB_Schema_Check';
} else {
$result .= 'Managing_and_Administration&printable=yes#DB_Schema_Check';
}
break;
case 'database_backup_utility_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Backup';
} else {
$result .= 'Managing_and_Administration&printable=yes#Backup';
}
break;
case 'update_manager_offline_tab':
if ($es) {
$result .= 'Actualizacion&printable=yes#Actualizaciones_.22offline.22';
} else {
$result .= 'Anexo_Upgrade&printable=yes#.22Offline.22_updates';
}
break;
case 'update_manager_online_tab':
if ($es) {
$result .= 'Actualizacion&printable=yes#Actualizaciones_.22online.22';
} else {
$result .= 'Anexo_Upgrade&printable=yes#.22Online.22_updates';
}
break;
case 'others_database_maintenance_options_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Otros';
} else {
$result .= 'Console_Setup&printable=yes#Others';
}
break;
case 'database_maintenance_options_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Opciones_de_mantenimiento_de_la_base_de_datos';
} else {
$result .= 'Console_Setup&printable=yes#Database_maintenance_options';
}
break;
case 'database_maintenance_status_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Estado_del_mantenimiento_de_las_bases_de_datos';
} else {
$result .= 'Console_Setup&printable=yes#Database_maintenance_status';
}
break;
case 'historical_database_maintenance_options_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Opciones_de_mantenimiento_de_la_base_de_datos_hist.C3.B3rica';
} else {
$result .= 'Console_Setup&printable=yes#Historical_database_maintenance_options';
}
break;
case 'setup_enterprise_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#Enterprise';
} else {
$result .= 'Console_Setup&printable=yes#Features_of_the_Enterprise_Version';
}
break;
case 'setup_general_tab':
if ($es) {
$result .= 'Configuracion_Consola&printable=yes#General_Setup';
} else {
$result .= 'Console_Setup&printable=yes#General_Setup';
}
break;
case 'export_target_tab':
if ($es) {
$result .= 'ExportServer&printable=yes#A.C3.B1adir_un_servidor_de_destino';
} else {
$result .= 'Export_Server&printable=yes#Adding_a_Target_Server';
}
break;
case 'servers_ha_clusters_tab':
if ($es) {
$result .= 'HA&printable=yes#Alta_disponibilidad_del_Servidor_de_Datos';
} else {
$result .= 'HA&printable=yes#HA_of_Data_Server';
}
break;
case 'plugins_tab':
if ($es) {
$result .= 'Anexo_Agent_Plugins&printable=yes#Caracter.C3.ADsticas_b.C3.A1sicas_de_plugin_de_agente';
} else {
$result .= 'Anexo_Agent_Plugins&printable=yes#Basic_Features_of_the_Agent_Plugin';
}
break;
case 'agent_snmp_explorer_tab':
if ($es) {
$result .= 'Monitorizacion_remota&printable=yes#Wizard_SNMP';
} else {
$result .= 'Remote_Monitoring&printable=yes#SNMP_Wizard';
}
break;
case 'agent_snmp_interfaces_explorer_tab':
if ($es) {
$result .= 'Monitorizacion_remota&printable=yes#SNMP_Interfaces_wizard';
} else {
$result .= 'Remote_Monitoring&printable=yes#SNMP_Interface_Wizard';
}
break;
case 'agent_snmp_wmi_explorer_tab':
if ($es) {
$result .= 'Monitorizacion_remota&printable=yes#Wizard_WMI';
} else {
$result .= 'Remote_Monitoring&printable=yes#WMI_Wizard';
}
break;
case 'group_list_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Introducci.C3.B3n_2';
} else {
$result .= 'Managing_and_Administration&printable=yes#Introduction_2';
}
break;
case 'acl_setup_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Introducci.C3.B3n_3';
} else {
$result .= 'Managing_and_Administration&printable=yes#Introduction_3';
}
break;
case 'profile_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Perfiles_en_Pandora_FMS';
} else {
$result .= 'Managing_and_Administration&printable=yes#Profiles_in_Pandora_FMS';
}
break;
case 'configure_profiles_tab':
if ($es) {
$result .= 'Gestion_y_Administracion&printable=yes#Perfiles_en_Pandora_FMS';
} else {
$result .= 'Managing_and_Administration&printable=yes#Profiles_in_Pandora_FMS';
}
break;
case 'network_component_tab':
if ($es) {
$result .= 'Plantillas_y_Componentes&printable=yes#Componentes_de_red';
} else {
$result .= 'Templates_and_components&printable=yes#Network_Components';
}
break;
case 'local_component_tab':
if ($es) {
$result .= 'Plantillas_y_Componentes&printable=yes#Componentes_locales';
} else {
$result .= 'Templates_and_components&printable=yes#Local_Components';
}
break;
case 'module_template_tab':
if ($es) {
$result .= 'Plantillas_y_Componentes&printable=yes#Plantillas_de_m.C3.B3dulos';
} else {
$result .= 'Templates_and_components&printable=yes#Module_Templates';
}
break;
case 'agent_autoconf_tab':
if ($es) {
$result .= 'Configuracion_Agentes&printable=yes#Introducci.C3.B3n';
} else {
$result .= 'Configuration_Agents&printable=yes#Introduction';
}
break;
case 'policies_management_tab':
if ($es) {
$result .= 'Politicas&printable=yes#Introducci.C3.B3n';
} else {
$result .= 'Policy&printable=yes#Introduction';
}
break;
case 'massive_agents_tab':
if ($es) {
$result .= 'Operaciones_Masivas&printable=yes#Edici.C3.B3n_masiva_de_agentes';
} else {
$result .= 'Massive_Operations&printable=yes#Agent_massive_edition';
}
break;
case 'alert_templates_tab':
if ($es) {
$result .= 'Alertas&printable=yes#Introducci.C3.B3n_4';
} else {
$result .= 'Alerts&printable=yes#Introduction_4';
}
break;
case 'configure_alert_template_step_1':
if ($es) {
$result .= 'Alertas&printable=yes#Paso_1:_General';
} else {
$result .= 'Alerts&printable=yes#Step_1:_General';
}
break;
case 'configure_alert_template_step_2':
if ($es) {
$result .= 'Alertas&printable=yes#Paso_2:_Condiciones';
} else {
$result .= 'Alerts&printable=yes#Step_2:_Conditions';
}
break;
case 'configure_alert_template_step_3':
if ($es) {
$result .= 'Alertas&printable=yes#Paso_3:_Campos_avanzados';
} else {
$result .= 'Alerts&printable=yes#Step_3:_Advanced_fields';
}
break;
case 'alerts_action':
if ($es) {
$result .= 'Alertas&printable=yes#Introducci.C3.B3n_3';
} else {
$result .= 'Alerts&printable=yes#Introduction_3';
}
break;
case 'alerts_command_tab':
if ($es) {
$result .= 'Alertas&printable=yes#Introducci.C3.B3n_2';
} else {
$result .= 'Alerts&printable=yes#Introduction_2';
}
break;
case 'alerts_config_command_tab':
if ($es) {
$result .= 'Alertas&printable=yes#Creaci.C3.B3n_de_un_comando_para_una_alerta';
} else {
$result .= 'Alerts&printable=yes#Command_Creation_for_an_Alert';
}
break;
case 'configure_alert_event_step_1':
if ($es) {
$result .= 'Eventos&printable=yes#Creaci.C3.B3n_alerta_de_evento';
} else {
$result .= 'Events&printable=yes#Event_Alert_creation';
}
break;
case 'configure_event_rule_tab':
if ($es) {
$result .= 'Eventos&printable=yes#Creaci.C3.B3n_alerta_de_evento';
} else {
$result .= 'Events&printable=yes#Event_Alert_creation';
}
break;
case 'snmp_alert_overview_tab':
if ($es) {
$result .= 'Monitorizacion_traps_SNMP&printable=yes#Introducci.C3.B3n_2';
} else {
$result .= 'SNMP_traps_Monitoring&printable=yes#Introduction_2';
}
break;
case 'snmp_alert_update_tab':
if ($es) {
$result .= 'Monitorizacion_traps_SNMP&printable=yes#A.C3.B1adir_una_alerta';
} else {
$result .= 'SNMP_traps_Monitoring&printable=yes#Alert_Creation';
}
break;
case 'visual_console_tab':
if ($es) {
$result .= '';
} else {
$result .= '';
}
break;
case 'web_checks':
break;