mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 22:55:15 +02:00
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…
x
Reference in New Issue
Block a user