summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@gmx.de>2009-06-11 15:24:52 (GMT)
committerMatthias Eble <psychotrahe@gmx.de>2009-06-11 15:24:52 (GMT)
commitc66d2c6b3b6d948ff36126f5d3a7629279f47878 (patch)
treededcbe3f577f15896bd856065e4362febb8f35b0
parentedda2536e589810070abcb59e3cb2b3d0b334a01 (diff)
downloadmonitoring-plugins-c66d2c6b3b6d948ff36126f5d3a7629279f47878.tar.gz
renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus
check_ifstatus already used -x so both plugins can use same short option, now. to specify privacy protocol.
-rw-r--r--NEWS2
-rwxr-xr-xplugins-scripts/check_ifoperstatus.pl4
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 421784d..451b654 100644
--- a/NEWS
+++ b/NEWS
@@ -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
451.4.13 25th Sept 2008 451.4.13 25th Sept 2008
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl
index 6038b93..588993b 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,