From 939cb7e5e7098f15ec54d3ad8466e5f5d86eb9fc 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/snmp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/snmp.pm b/centreon/plugins/snmp.pm index a0d3f0d18..b25abc248 100644 --- a/centreon/plugins/snmp.pm +++ b/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(); }