diff options
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 3372adb..4f17711 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -53,7 +53,8 @@ my %ifOperStatus = ('1','up', | |||
53 | '3','testing', | 53 | '3','testing', |
54 | '4','unknown', | 54 | '4','unknown', |
55 | '5','dormant', | 55 | '5','dormant', |
56 | '6','notPresent'); | 56 | '6','notPresent', |
57 | '7','lowerLayerDown'); # down due to the state of lower layer interface(s)); | ||
57 | 58 | ||
58 | my $state = "UNKNOWN"; | 59 | my $state = "UNKNOWN"; |
59 | my $answer = ""; | 60 | my $answer = ""; |
@@ -416,6 +417,7 @@ sub process_arguments() { | |||
416 | -port => $port, | 417 | -port => $port, |
417 | -version => $snmp_version, | 418 | -version => $snmp_version, |
418 | -username => $secname, | 419 | -username => $secname, |
420 | -authprotocol => $authproto, | ||
419 | $auth | 421 | $auth |
420 | ); | 422 | ); |
421 | }elsif ($seclevel eq 'authPriv' ) { | 423 | }elsif ($seclevel eq 'authPriv' ) { |
@@ -424,6 +426,7 @@ sub process_arguments() { | |||
424 | -port => $port, | 426 | -port => $port, |
425 | -version => $snmp_version, | 427 | -version => $snmp_version, |
426 | -username => $secname, | 428 | -username => $secname, |
429 | -authprotocol => $authproto, | ||
427 | $auth, | 430 | $auth, |
428 | $priv | 431 | $priv |
429 | ); | 432 | ); |