diff options
author | Matthias Eble <psychotrahe@gmx.de> | 2009-06-11 17:24:52 +0200 |
---|---|---|
committer | Matthias Eble <psychotrahe@gmx.de> | 2009-06-11 17:24:52 +0200 |
commit | c66d2c6b3b6d948ff36126f5d3a7629279f47878 (patch) | |
tree | dedcbe3f577f15896bd856065e4362febb8f35b0 /plugins-scripts/check_ifoperstatus.pl | |
parent | edda2536e589810070abcb59e3cb2b3d0b334a01 (diff) | |
download | monitoring-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-x | plugins-scripts/check_ifoperstatus.pl | 4 |
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() { printf " -X (--privpass) privacy password (cleartext ascii or localized key\n"; printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; printf " privacy password and authEngineID\n"; - printf " -x (--privproto) privacy protocol (DES or AES; default: DES)\n"; + printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; printf " -k (--key) SNMP IfIndex value\n"; printf " -d (--descr) SNMP ifDescr value\n"; printf " -T (--type) SNMP ifType integer value (see http://www.iana.org/assignments/ianaiftype-mib)\n"; @@ -342,7 +342,7 @@ sub process_arguments() { "U=s" => \$secname, "secname=s" => \$secname, "A=s" => \$authpass, "authpass=s" => \$authpass, "X=s" => \$privpass, "privpass=s" => \$privpass, - "x=s" => \$privproto, "privproto=s" => \$privproto, + "P=s" => \$privproto, "privproto=s" => \$privproto, "c=s" => \$context, "context=s" => \$context, "k=i" => \$snmpkey, "key=i",\$snmpkey, "d=s" => \$ifdescr, "descr=s" => \$ifdescr, |