[Pkg-nagios-changes] [pkg-nagios] r1868 - in nagios-plugins/trunk/debian: . patches
Jan Wagner
waja at alioth.debian.org
Fri Mar 19 14:41:31 UTC 2010
tags 574612 pending
thanks
Author: waja
Date: 2010-03-19 14:41:31 +0000 (Fri, 19 Mar 2010)
New Revision: 1868
Added:
nagios-plugins/trunk/debian/patches/42_check_linux_raid_fix_rebuild.dpatch
Modified:
nagios-plugins/trunk/debian/changelog
Log:
return Warning when rebuilding volume
Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog 2010-03-19 13:53:14 UTC (rev 1867)
+++ nagios-plugins/trunk/debian/changelog 2010-03-19 14:41:31 UTC (rev 1868)
@@ -4,6 +4,8 @@
* Move postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light
to Suggests, thanks to Glennie Vignarajah (CLoses: #574591)
* Install NEWS.Debian and README.Debian* to the appropriate packages
+ * Add 42_check_linux_raid_fix_rebuild.dpatch to return Warning when
+ rebuilding volume, thanks to Christoph Martin (CLoses: #574612)
-- Jan Wagner <waja at cyconet.org> Tue, 16 Mar 2010 09:35:20 +0100
Added: nagios-plugins/trunk/debian/patches/42_check_linux_raid_fix_rebuild.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/42_check_linux_raid_fix_rebuild.dpatch (rev 0)
+++ nagios-plugins/trunk/debian/patches/42_check_linux_raid_fix_rebuild.dpatch 2010-03-19 14:41:31 UTC (rev 1868)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 42_check_linux_raid_fix_rebuild.dpatch by Christoph Martin <martin at uni-mainz.de>
+##
+## DP: Return Warning when rebuilding volume
+
+ at DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagios-plugins-1.4.14~/contrib/check_linux_raid.pl nagios-plugins-1.4.14/contrib/check_linux_raid.pl
+--- nagios-plugins-1.4.14~/contrib/check_linux_raid.pl 2010-03-19 15:35:24.000000000 +0100
++++ nagios-plugins-1.4.14/contrib/check_linux_raid.pl 2010-03-19 15:37:35.000000000 +0100
+@@ -64,6 +64,7 @@
+ } elsif (/recovery = (.*?)\s/) {
+ $recovery{$device} = $1;
+ ($finish{$device}) = /finish=(.*?min)/;
++ $device=undef;
+ } elsif (/^\s*$/) {
+ $device=undef;
+ }
Property changes on: nagios-plugins/trunk/debian/patches/42_check_linux_raid_fix_rebuild.dpatch
___________________________________________________________________
Added: svn:executable
+ *
More information about the Pkg-nagios-changes
mailing list