packages: nagios-plugin-check_raid/check_raid, nagios-plugin-check_raid/nag...

glen glen at pld-linux.org
Tue Oct 6 15:23:12 CEST 2009


Author: glen                         Date: Tue Oct  6 13:23:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix filing sudo rules with cmdtool2

---- Files affected:
packages/nagios-plugin-check_raid:
   check_raid (1.50 -> 1.51) , nagios-plugin-check_raid.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.50 packages/nagios-plugin-check_raid/check_raid:1.51
--- packages/nagios-plugin-check_raid/check_raid:1.50	Tue Oct  6 15:14:59 2009
+++ packages/nagios-plugin-check_raid/check_raid	Tue Oct  6 15:23:06 2009
@@ -803,7 +803,7 @@
 	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $arcconf GETCONFIG 1 *\n") if $arcconf;
 	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $megarc -AllAdpInfo -nolog\n") if $megarc;
 	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $megarc -dispCfg -a* -nolog\n") if $megarc;
-	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $cmdtool2 -AdpAllInfo -nolog\n") if $cmdtool2;
+	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $cmdtool2 -AdpAllInfo -aALL -nolog\n") if $cmdtool2;
 	push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $cmdtool2 -CfgDsply -a* -nolog\n") if $cmdtool2;
 	foreach my $mr (glob('/proc/mega*/*/raiddrives*')) {
 		push(@sudo, "CHECK_RAID ALL=(root) NOPASSWD: $cat $mr\n") if -d $mr;

================================================================
Index: packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec
diff -u packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.9 packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.10
--- packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.9	Tue Oct  6 15:14:59 2009
+++ packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec	Tue Oct  6 15:23:06 2009
@@ -3,7 +3,7 @@
 Summary:	Nagios plugin to check current server's RAID status
 Name:		nagios-plugin-%{plugin}
 Version:	2.1
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Networking
 Source0:	%{plugin}
@@ -71,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2009/10/06 13:23:06  glen
+- fix filing sudo rules with cmdtool2
+
 Revision 1.9  2009/10/06 13:14:59  glen
 - Added HP/Compaq Smarty Array via cciss_vol_status
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid?r1=1.50&r2=1.51&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list