new item report agent/modules status pandora_enterprise#7653

This commit is contained in:
Daniel Barbero Martin 2022-02-11 09:28:28 +01:00
parent e8d5c77f3c
commit aa2dac1373
3 changed files with 4 additions and 4 deletions

View File

@ -6348,10 +6348,10 @@ function chooseType() {
break;
case 'agent_module':
$("#row_module_group").show();
case 'agent_module_status':
$("#row_description").show();
$("#row_group").show();
$("#row_module_group").show();
$("#select_agent_modules").show();
$("#agents_modules_row").show();
$("#modules_row").show();

View File

@ -4183,7 +4183,7 @@ function get_status_data_agent_modules($id_group, $agents=[], $modules=[])
$slq_filter_group = '';
if (empty($id_group) === false) {
$slq_filter_group = sprintf(
' AND tagente.id_group = %d',
' AND tagente.id_grupo = %d',
$id_group
);
}

View File

@ -2060,9 +2060,9 @@ function reporting_html_agent_module_status($table, $item, $pdf=0)
$table_info->head['server'] = __('Server');
}
$table_info->head['name_group'] = __('Group');
$table_info->head['name_agent'] = __('Agent');
$table_info->head['name_module'] = __('Module');
$table_info->head['name_group'] = __('Group');
$table_info->head['status_module'] = __('Status');
$table_info->head['data_module'] = __('Data');
$table_info->head['data_time_module'] = __('Last time');
@ -2076,9 +2076,9 @@ function reporting_html_agent_module_status($table, $item, $pdf=0)
$row['server'] = $server;
}
$row['name_group'] = $data['name_group'];
$row['name_agent'] = $data['name_agent'];
$row['name_module'] = $data['name_module'];
$row['name_group'] = $data['name_group'];
$row['status_module'] = ui_print_module_status(
$data['status_module'],
true,