Change snmpv3 management parameters (PR #1392)
This commit is contained in:
parent
858075ec68
commit
5a45cb8eff
|
@ -786,8 +786,8 @@ sub check_options {
|
|||
}
|
||||
|
||||
# unauthenticated and unencrypted
|
||||
$self->{snmp_params}->{SecLevel} = 'noAuthNoPriv';
|
||||
if (!defined($options{option_results}->{snmp_auth_passphrase}) && !defined($options{option_results}->{snmp_priv_passphrase})) {
|
||||
$self->{snmp_params}->{SecLevel} = 'noAuthNoPriv';
|
||||
return ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue