mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Added name of agent in serialize data. TICKET: #2585
This commit is contained in:
parent
80e14d22cb
commit
8b63a9b811
pandora_console/include
@ -5379,7 +5379,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
$item_title = __('Serialize data');
|
||||
}
|
||||
reporting_header_content($mini, $content, $report, $table, $item_title,
|
||||
ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
ui_print_truncate_text($agent_name, 'agent_medium', false) .
|
||||
' <br> ' . ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
|
||||
// Put description at the end of the module (if exists)
|
||||
$next_row = 1;
|
||||
|
@ -4438,7 +4438,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
}
|
||||
reporting_header_content($mini, $content, $report, $table, $item_title,
|
||||
ui_print_truncate_text($agent_name, 'agent_medium', false) .
|
||||
' <br> '.ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
' <br> ' . ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
|
||||
//RUNNING
|
||||
|
||||
@ -4488,7 +4488,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
}
|
||||
|
||||
$table->colspan[$next_row][0] = 3;
|
||||
|
||||
|
||||
$data = array ();
|
||||
$unit = db_get_value('unit', 'tagente_modulo', 'id_agente_modulo', $content['id_agent_module']);
|
||||
|
||||
@ -4546,9 +4546,9 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
$filter_event_warning,
|
||||
$filter_event_no_validated);
|
||||
|
||||
if(!empty($data[0])) {
|
||||
if (!empty($data[0])) {
|
||||
array_push ($table->data, $data);
|
||||
|
||||
|
||||
$table->colspan[$next_row][0] = 3;
|
||||
$next_row++;
|
||||
}
|
||||
@ -4820,9 +4820,9 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
$filter_event_critical,
|
||||
$filter_event_warning,
|
||||
$filter_event_no_validated);
|
||||
if(!empty($data[0])) {
|
||||
if (!empty($data[0])) {
|
||||
array_push ($table->data, $data);
|
||||
|
||||
|
||||
$table->colspan[$next_row][0] = 3;
|
||||
$next_row++;
|
||||
}
|
||||
@ -5052,7 +5052,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
$item_title = __('Serialize data');
|
||||
}
|
||||
reporting_header_content($mini, $content, $report, $table, $item_title,
|
||||
ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
ui_print_truncate_text($agent_name, 'agent_medium', false) .
|
||||
' <br> ' . ui_print_truncate_text($module_name, 'module_medium', false));
|
||||
|
||||
// Put description at the end of the module (if exists)
|
||||
$next_row = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user