diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_ifoperstatus.pl | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ This file documents the major additions and syntax changes between releases. | |||
39 | Fixed check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675) | 39 | Fixed check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675) |
40 | check_snmp now supports standard threshold ranges and doubles (floating numbers) in thresholds | 40 | check_snmp now supports standard threshold ranges and doubles (floating numbers) in thresholds |
41 | check_fping now supports passing target timeout and interval to fping (#2347686 - Martin Foster) | 41 | check_fping now supports passing target timeout and interval to fping (#2347686 - Martin Foster) |
42 | Fixed SNMPv3 behaviour of check_ifoperstatus and check_ifstatus. Added -x/-P to define privprotocol (#2343438 - Robin Schroeder) | 42 | Fixed SNMPv3 behaviour of check_ifoperstatus and check_ifstatus. Added -P to define privprotocol (#2343438 - Robin Schroeder) |
43 | check_ifoperstatus and check_ifstatus are now more user-friendly in case of missing arguments | 43 | check_ifoperstatus and check_ifstatus are now more user-friendly in case of missing arguments |
44 | 44 | ||
45 | 1.4.13 25th Sept 2008 | 45 | 1.4.13 25th Sept 2008 |
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index 6038b935..588993be 100755 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl | |||
@@ -308,7 +308,7 @@ sub print_help() { | |||
308 | printf " -X (--privpass) privacy password (cleartext ascii or localized key\n"; | 308 | printf " -X (--privpass) privacy password (cleartext ascii or localized key\n"; |
309 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; | 309 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; |
310 | printf " privacy password and authEngineID\n"; | 310 | printf " privacy password and authEngineID\n"; |
311 | printf " -x (--privproto) privacy protocol (DES or AES; default: DES)\n"; | 311 | printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; |
312 | printf " -k (--key) SNMP IfIndex value\n"; | 312 | printf " -k (--key) SNMP IfIndex value\n"; |
313 | printf " -d (--descr) SNMP ifDescr value\n"; | 313 | printf " -d (--descr) SNMP ifDescr value\n"; |
314 | printf " -T (--type) SNMP ifType integer value (see http://www.iana.org/assignments/ianaiftype-mib)\n"; | 314 | printf " -T (--type) SNMP ifType integer value (see http://www.iana.org/assignments/ianaiftype-mib)\n"; |
@@ -342,7 +342,7 @@ sub process_arguments() { | |||
342 | "U=s" => \$secname, "secname=s" => \$secname, | 342 | "U=s" => \$secname, "secname=s" => \$secname, |
343 | "A=s" => \$authpass, "authpass=s" => \$authpass, | 343 | "A=s" => \$authpass, "authpass=s" => \$authpass, |
344 | "X=s" => \$privpass, "privpass=s" => \$privpass, | 344 | "X=s" => \$privpass, "privpass=s" => \$privpass, |
345 | "x=s" => \$privproto, "privproto=s" => \$privproto, | 345 | "P=s" => \$privproto, "privproto=s" => \$privproto, |
346 | "c=s" => \$context, "context=s" => \$context, | 346 | "c=s" => \$context, "context=s" => \$context, |
347 | "k=i" => \$snmpkey, "key=i",\$snmpkey, | 347 | "k=i" => \$snmpkey, "key=i",\$snmpkey, |
348 | "d=s" => \$ifdescr, "descr=s" => \$ifdescr, | 348 | "d=s" => \$ifdescr, "descr=s" => \$ifdescr, |