12941-Fix translation. Fix bulks (agents, modules and policies)

This commit is contained in:
Pablo Aragon 2024-04-05 09:43:55 +02:00
parent 0d11040641
commit 9c2e998356
3 changed files with 10 additions and 2 deletions

View File

@ -131,6 +131,10 @@ if ($update_agents) {
) {
if (get_parameter('interval') != -2) {
$values['intervalo'] = get_parameter('interval');
if ($values['intervalo'] < 60) {
$values['intervalo'] = 60;
}
}
}

View File

@ -2444,6 +2444,10 @@ function process_manage_edit($module_name, $agents_select=null, $module_status='
case 'module_interval':
if ($value != 0) {
$values[$field] = $value;
if ($values[$field] < 60) {
$values[$field] = 60;
}
}
break;

View File

@ -29,8 +29,8 @@ function clippy_agent_module_interval()
$return_tours['tours']['agent_module_interval']['steps'] = [];
$return_tours['tours']['agent_module_interval']['steps'][] = [
'init_step_context' => true,
'intro' => __('Pandora FMS is designed to monitor thousands of elements. It is possible to use very low sampling intervals using specific elements for it (Satellite Server) but doing it in a centralized way can have a severe impact in the performance, that\'s why we limit it to intervals of at least 60 seconds. Even then, you should only do 60 second sampling on very specific modules. The impact on your infrastructure can be severe, leading to event storms and delays in other monitoring. If you are going to use 60-second intervals, we recommend that you disable unknown detection to avoid unwanted events and use FlipFlop\'s protection settings.'),
'title' => __('Data Configuration Module.'),
'intro' => __('Pandora FMS has been designed to monitor thousands of elements. It is possible to use very low sampling intervals by using specific items for that purpose (Satellite Server), but doing so in a centralized way may negatively affect performance. That is why it is limited to 60-second intervals. Even so, 60-second interval sampling should only take place in very specific modules. The impact on your infrastructure may be severe, leading to event storms and monitoring delays. Should you use 60-second intervals, it is recommended to disable unknown detection monitoring to avoid undesired events and use the FlipFlop protection setup'),
'title' => __('Notice'),
'img' => html_print_image(
'images/info-warning.svg',
true,