mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
new item report agent/modules status pandora_enterprise#7653
This commit is contained in:
parent
e8d5c77f3c
commit
aa2dac1373
@ -6348,10 +6348,10 @@ function chooseType() {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'agent_module':
|
case 'agent_module':
|
||||||
|
$("#row_module_group").show();
|
||||||
case 'agent_module_status':
|
case 'agent_module_status':
|
||||||
$("#row_description").show();
|
$("#row_description").show();
|
||||||
$("#row_group").show();
|
$("#row_group").show();
|
||||||
$("#row_module_group").show();
|
|
||||||
$("#select_agent_modules").show();
|
$("#select_agent_modules").show();
|
||||||
$("#agents_modules_row").show();
|
$("#agents_modules_row").show();
|
||||||
$("#modules_row").show();
|
$("#modules_row").show();
|
||||||
|
@ -4183,7 +4183,7 @@ function get_status_data_agent_modules($id_group, $agents=[], $modules=[])
|
|||||||
$slq_filter_group = '';
|
$slq_filter_group = '';
|
||||||
if (empty($id_group) === false) {
|
if (empty($id_group) === false) {
|
||||||
$slq_filter_group = sprintf(
|
$slq_filter_group = sprintf(
|
||||||
' AND tagente.id_group = %d',
|
' AND tagente.id_grupo = %d',
|
||||||
$id_group
|
$id_group
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -2060,9 +2060,9 @@ function reporting_html_agent_module_status($table, $item, $pdf=0)
|
|||||||
$table_info->head['server'] = __('Server');
|
$table_info->head['server'] = __('Server');
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_info->head['name_group'] = __('Group');
|
|
||||||
$table_info->head['name_agent'] = __('Agent');
|
$table_info->head['name_agent'] = __('Agent');
|
||||||
$table_info->head['name_module'] = __('Module');
|
$table_info->head['name_module'] = __('Module');
|
||||||
|
$table_info->head['name_group'] = __('Group');
|
||||||
$table_info->head['status_module'] = __('Status');
|
$table_info->head['status_module'] = __('Status');
|
||||||
$table_info->head['data_module'] = __('Data');
|
$table_info->head['data_module'] = __('Data');
|
||||||
$table_info->head['data_time_module'] = __('Last time');
|
$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['server'] = $server;
|
||||||
}
|
}
|
||||||
|
|
||||||
$row['name_group'] = $data['name_group'];
|
|
||||||
$row['name_agent'] = $data['name_agent'];
|
$row['name_agent'] = $data['name_agent'];
|
||||||
$row['name_module'] = $data['name_module'];
|
$row['name_module'] = $data['name_module'];
|
||||||
|
$row['name_group'] = $data['name_group'];
|
||||||
$row['status_module'] = ui_print_module_status(
|
$row['status_module'] = ui_print_module_status(
|
||||||
$data['status_module'],
|
$data['status_module'],
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user