summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ifoperstatus.pl
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@gmx.de>2009-06-11 17:24:52 +0200
committerMatthias Eble <psychotrahe@gmx.de>2009-06-11 17:24:52 +0200
commitc66d2c6b3b6d948ff36126f5d3a7629279f47878 (patch)
treededcbe3f577f15896bd856065e4362febb8f35b0 /plugins-scripts/check_ifoperstatus.pl
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.
Diffstat (limited to 'plugins-scripts/check_ifoperstatus.pl')
-rwxr-xr-xplugins-scripts/check_ifoperstatus.pl4
1 files changed, 2 insertions, 2 deletions
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,