Add an icon and constants for the new Syslog server.
This commit is contained in:
parent
18fdba9dd6
commit
dca173c8b8
Binary file not shown.
After Width: | Height: | Size: 451 B |
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue