diff options
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 9f2f7c31..38b87fcc 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -280,7 +280,7 @@ sub print_help() { | |||
280 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; | 280 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; |
281 | printf " privacy password and authEngineID\n"; | 281 | printf " privacy password and authEngineID\n"; |
282 | printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; | 282 | printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; |
283 | printf " -M (--maxmsgsize) Max message size - usefull only for v1 or v2c\n"; | 283 | printf " -M (--maxmsgsize) Max message size - useful only for v1 or v2c\n"; |
284 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; | 284 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; |
285 | printf " -V (--version) Plugin version\n"; | 285 | printf " -V (--version) Plugin version\n"; |
286 | printf " -h (--help) usage help \n\n"; | 286 | printf " -h (--help) usage help \n\n"; |
@@ -354,7 +354,7 @@ sub process_arguments() { | |||
354 | if (defined $seclevel && defined $secname) { | 354 | if (defined $seclevel && defined $secname) { |
355 | $session_opts{'-username'} = $secname; | 355 | $session_opts{'-username'} = $secname; |
356 | 356 | ||
357 | # Must define a security level even though defualt is noAuthNoPriv | 357 | # Must define a security level even though default is noAuthNoPriv |
358 | unless ( grep /^$seclevel$/, qw(noAuthNoPriv authNoPriv authPriv) ) { | 358 | unless ( grep /^$seclevel$/, qw(noAuthNoPriv authNoPriv authPriv) ) { |
359 | usage("Must define a valid security level even though default is noAuthNoPriv"); | 359 | usage("Must define a valid security level even though default is noAuthNoPriv"); |
360 | } | 360 | } |