diff --git a/pandora_console/images/syslog.png b/pandora_console/images/syslog.png new file mode 100644 index 0000000000..aea0839c10 Binary files /dev/null and b/pandora_console/images/syslog.png differ diff --git a/pandora_console/include/constants.php b/pandora_console/include/constants.php index 901cff9eeb..cc89ce8a0a 100644 --- a/pandora_console/include/constants.php +++ b/pandora_console/include/constants.php @@ -357,6 +357,7 @@ define('SERVER_TYPE_ENTERPRISE_TRANSACTIONAL', 14); define('SERVER_TYPE_MAINFRAME', 15); define('SERVER_TYPE_SYNC', 16); define('SERVER_TYPE_WUX', 17); +define('SERVER_TYPE_SYSLOG', 18); /* REPORTS */ define('REPORT_TOP_N_MAX', 1); diff --git a/pandora_console/include/functions_servers.php b/pandora_console/include/functions_servers.php index 60e9ffc7e8..33ed8e8bfd 100644 --- a/pandora_console/include/functions_servers.php +++ b/pandora_console/include/functions_servers.php @@ -167,6 +167,7 @@ function servers_get_performance () { case SERVER_TYPE_INVENTORY: case SERVER_TYPE_EVENT: case SERVER_TYPE_RECON: + case SERVER_TYPE_SYSLOG: break; } @@ -449,6 +450,11 @@ function servers_get_info ($id_server = -1) { $server["type"] = "wux"; $id_modulo = 0; break; + case SERVER_TYPE_SYSLOG: + $server["img"] = html_print_image ("images/syslog.png", true, array ("title" => __('Syslog server'))); + $server["type"] = "syslog"; + $id_modulo = 0; + break; default: $server["img"] = ''; $server["type"] = "unknown";