From 5a45cb8effa579205ea95f12d4d9f91e4c41dfa0 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 15 Feb 2019 14:19:49 +0100 Subject: [PATCH] Change snmpv3 management parameters (PR #1392) --- centreon/plugins/snmp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/snmp.pm b/centreon/plugins/snmp.pm index 11ab74256..64bb8cf63 100644 --- a/centreon/plugins/snmp.pm +++ b/centreon/plugins/snmp.pm @@ -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 ; }