[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2219] nagiosplug/trunk

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Thu Jun 11 17:30:17 CEST 2009


Revision: 2219
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2219&view=rev
Author:   dermoth
Date:     2009-06-11 15:30:17 +0000 (Thu, 11 Jun 2009)

Log Message:
-----------
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.

From: Matthias Eble <psychotrahe at gmx.de>

Modified Paths:
--------------
    nagiosplug/trunk/NEWS
    nagiosplug/trunk/plugins-scripts/check_ifoperstatus.pl

Modified: nagiosplug/trunk/NEWS
===================================================================
--- nagiosplug/trunk/NEWS	2009-06-11 15:30:07 UTC (rev 2218)
+++ nagiosplug/trunk/NEWS	2009-06-11 15:30:17 UTC (rev 2219)
@@ -39,7 +39,7 @@
 	Fixed check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)
 	check_snmp now supports standard threshold ranges and doubles (floating numbers) in thresholds
 	check_fping now supports passing target timeout and interval to fping (#2347686 - Martin Foster)
-	Fixed SNMPv3 behaviour of check_ifoperstatus and check_ifstatus. Added -x/-P to define privprotocol (#2343438 - Robin Schroeder)
+	Fixed SNMPv3 behaviour of check_ifoperstatus and check_ifstatus. Added -P to define privprotocol (#2343438 - Robin Schroeder)
 	check_ifoperstatus and check_ifstatus are now more user-friendly in case of missing arguments
 
 1.4.13 25th Sept 2008

Modified: nagiosplug/trunk/plugins-scripts/check_ifoperstatus.pl
===================================================================
--- nagiosplug/trunk/plugins-scripts/check_ifoperstatus.pl	2009-06-11 15:30:07 UTC (rev 2218)
+++ nagiosplug/trunk/plugins-scripts/check_ifoperstatus.pl	2009-06-11 15:30:17 UTC (rev 2219)
@@ -308,7 +308,7 @@
 	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 @@
 			"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,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list