From 52a6bfcd093e8aad759659fb85982c808de36c1f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 15 Feb 2019 14:34:01 +0100 Subject: [PATCH] Change snmpv3 management parameters (PR #1392) --- centreon-plugins/centreon/plugins/snmp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/centreon/plugins/snmp.pm b/centreon-plugins/centreon/plugins/snmp.pm index a0d3f0d18..b25abc248 100644 --- a/centreon-plugins/centreon/plugins/snmp.pm +++ b/centreon-plugins/centreon/plugins/snmp.pm @@ -780,7 +780,7 @@ sub check_options { } - if (!defined($options{option_results}->{snmp_security_name})) { + if (!defined($options{option_results}->{snmp_security_name}) || $options{option_results}->{snmp_security_name} eq '') { $self->{output}->add_option_msg(short_msg => "Missing parameter Security Name."); $self->{output}->option_exit(); }