This commit is contained in:
Daniel Maya 2023-10-10 14:16:01 +02:00
parent 030ffc55f9
commit 455ffd8326
2 changed files with 14 additions and 0 deletions

View File

@ -441,6 +441,7 @@ define('SERVER_TYPE_ALERT', 21);
define('SERVER_TYPE_CORRELATION', 22);
define('SERVER_TYPE_NCM', 23);
define('SERVER_TYPE_NETFLOW', 24);
define('SERVER_TYPE_LOG', 25);
// REPORTS.
define('REPORT_TOP_N_MAX', 1);

View File

@ -979,6 +979,19 @@ function servers_get_info($id_server=-1, $sql_limit=-1)
$id_modulo = 0;
break;
case SERVER_TYPE_LOG:
$server['img'] = html_print_image(
'images/gm_log@svg.svg',
true,
[
'title' => __('Log server'),
'class' => 'main_menu_icon invert_filter',
]
);
$server['type'] = 'log';
$id_modulo = 0;
break;
default:
$server['img'] = '';
$server['type'] = 'unknown';