mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-29 10:09:25 -04:00
more snmpv3 patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
746e307195
commit
fa9983a260
1 changed files with 4 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ my %ifOperStatus = ('1','up',
|
|||
'3','testing',
|
||||
'4','unknown',
|
||||
'5','dormant',
|
||||
'6','notPresent');
|
||||
'6','notPresent',
|
||||
'7','lowerLayerDown'); # down due to the state of lower layer interface(s));
|
||||
|
||||
my $state = "UNKNOWN";
|
||||
my $answer = "";
|
||||
|
|
@ -416,6 +417,7 @@ sub process_arguments() {
|
|||
-port => $port,
|
||||
-version => $snmp_version,
|
||||
-username => $secname,
|
||||
-authprotocol => $authproto,
|
||||
$auth
|
||||
);
|
||||
}elsif ($seclevel eq 'authPriv' ) {
|
||||
|
|
@ -424,6 +426,7 @@ sub process_arguments() {
|
|||
-port => $port,
|
||||
-version => $snmp_version,
|
||||
-username => $secname,
|
||||
-authprotocol => $authproto,
|
||||
$auth,
|
||||
$priv
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue