New upstream version 2.1.0

This commit is contained in:
Jan Wagner 2017-11-29 16:28:59 +01:00
parent e1ab4578a6
commit 75687e089f
37 changed files with 1333 additions and 8079 deletions

View file

@ -35,7 +35,7 @@ my @css_svc_state_nag = (3, 2, 2, 3, 0, 2);
# Globals
my $VERSION = "2.0.0";
my $VERSION = "2.1.0";
my $o_host = undef; # hostname
my $o_community = undef; # community
@ -326,6 +326,7 @@ if (defined($o_login) && defined($o_passwd)) {
verb("SNMPv3 AuthNoPriv login : $o_login, $o_authproto");
($session, $error) = Net::SNMP->session(
-hostname => $o_host,
-port => $o_port,
-version => '3',
-username => $o_login,
-authpassword => $o_passwd,
@ -336,6 +337,7 @@ if (defined($o_login) && defined($o_passwd)) {
verb("SNMPv3 AuthPriv login : $o_login, $o_authproto, $o_privproto");
($session, $error) = Net::SNMP->session(
-hostname => $o_host,
-port => $o_port,
-version => '3',
-username => $o_login,
-authpassword => $o_passwd,