aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_ifstatus.pl
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-10-14 03:14:57 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-10-14 03:14:57 +0000
commitfa9983a26043e067546667e2f9721e1b499a4fba (patch)
treeec032bd5d96eb14aa16ce56b26749be3e1e3f699 /plugins-scripts/check_ifstatus.pl
parent746e30719509f026c2bcda84fab22725b5e982aa (diff)
downloadmonitoring-plugins-fa9983a26043e067546667e2f9721e1b499a4fba.tar.gz
more snmpv3 patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
-rwxr-xr-xplugins-scripts/check_ifstatus.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl
index 3372adbf..4f177116 100755
--- a/plugins-scripts/check_ifstatus.pl
+++ b/plugins-scripts/check_ifstatus.pl
@@ -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
);