fixed errors in form wux

This commit is contained in:
daniel 2017-08-09 12:08:52 +02:00
parent 7e649b78b3
commit 788cb8cbd8
3 changed files with 3 additions and 2 deletions

View File

@ -975,7 +975,7 @@ if ($update_module || $create_module) {
$custom_string_1 = (string) get_parameter ('custom_string_1', $custom_string_1_default);
$custom_string_2 = (string) get_parameter ('custom_string_2', $custom_string_2_default);
$custom_string_3 = (string) get_parameter ('custom_string_3', $custom_string_3_default);
$custom_integer_1 = (int) get_parameter ('prediction_module', $custom_integer_1_default);
$custom_integer_1 = (int) get_parameter ('custom_integer_1', $custom_integer_1_default);
$custom_integer_2 = (int) get_parameter ('custom_integer_2', $custom_integer_2_default);
// Get macros

View File

@ -183,7 +183,7 @@ if ($id_agent_module) {
// Security level Could be noAuthNoPriv | authNoPriv | authPriv
$snmp3_security_level = $module["custom_string_3"];
$ip_target = $module['ip_target'];
$disabled = $module['disabled'];
$id_export = $module['id_export'];

View File

@ -351,6 +351,7 @@ define('SERVER_TYPE_ENTERPRISE_SATELLITE', 13);
define('SERVER_TYPE_ENTERPRISE_TRANSACTIONAL', 14);
define('SERVER_TYPE_MAINFRAME', 15);
define('SERVER_TYPE_SYNC', 16);
define('SERVER_TYPE_WUX', 17);
/* REPORTS */
define('REPORT_TOP_N_MAX', 1);