mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fix default values for SNMP v3 modules
This commit is contained in:
parent
e1829d5bea
commit
5059d67d61
@ -1475,13 +1475,13 @@ if ($update_module === true || $create_module === true) {
|
|||||||
$plugin_pass = io_input_password(
|
$plugin_pass = io_input_password(
|
||||||
(string) get_parameter('snmp3_auth_pass')
|
(string) get_parameter('snmp3_auth_pass')
|
||||||
);
|
);
|
||||||
$plugin_parameter = (string) get_parameter('snmp3_auth_method');
|
$plugin_parameter = (string) get_parameter('snmp3_auth_method', 'MD5');
|
||||||
|
|
||||||
$custom_string_1 = (string) get_parameter('snmp3_privacy_method');
|
$custom_string_1 = (string) get_parameter('snmp3_privacy_method', 'DES');
|
||||||
$custom_string_2 = io_input_password(
|
$custom_string_2 = io_input_password(
|
||||||
(string) get_parameter('snmp3_privacy_pass')
|
(string) get_parameter('snmp3_privacy_pass')
|
||||||
);
|
);
|
||||||
$custom_string_3 = (string) get_parameter('snmp3_security_level');
|
$custom_string_3 = (string) get_parameter('snmp3_security_level', 'noAuthNoPriv');
|
||||||
} else if ($id_module_type >= 34 && $id_module_type <= 37) {
|
} else if ($id_module_type >= 34 && $id_module_type <= 37) {
|
||||||
$tcp_send = (string) get_parameter('command_text');
|
$tcp_send = (string) get_parameter('command_text');
|
||||||
$custom_string_1 = (string) get_parameter(
|
$custom_string_1 = (string) get_parameter(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user