Merge branch 'grep_syslog_module' into 'develop'
Add an icon and constants for the new Syslog server. See merge request artica/pandorafms!1160
This commit is contained in:
commit
20720c9f0b
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_MAINFRAME', 15);
|
||||||
define('SERVER_TYPE_SYNC', 16);
|
define('SERVER_TYPE_SYNC', 16);
|
||||||
define('SERVER_TYPE_WUX', 17);
|
define('SERVER_TYPE_WUX', 17);
|
||||||
|
define('SERVER_TYPE_SYSLOG', 18);
|
||||||
|
|
||||||
/* REPORTS */
|
/* REPORTS */
|
||||||
define('REPORT_TOP_N_MAX', 1);
|
define('REPORT_TOP_N_MAX', 1);
|
||||||
|
|
|
@ -167,6 +167,7 @@ function servers_get_performance () {
|
||||||
case SERVER_TYPE_INVENTORY:
|
case SERVER_TYPE_INVENTORY:
|
||||||
case SERVER_TYPE_EVENT:
|
case SERVER_TYPE_EVENT:
|
||||||
case SERVER_TYPE_RECON:
|
case SERVER_TYPE_RECON:
|
||||||
|
case SERVER_TYPE_SYSLOG:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -449,6 +450,11 @@ function servers_get_info ($id_server = -1) {
|
||||||
$server["type"] = "wux";
|
$server["type"] = "wux";
|
||||||
$id_modulo = 0;
|
$id_modulo = 0;
|
||||||
break;
|
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:
|
default:
|
||||||
$server["img"] = '';
|
$server["img"] = '';
|
||||||
$server["type"] = "unknown";
|
$server["type"] = "unknown";
|
||||||
|
|
Loading…
Reference in New Issue