[Pkg-nagios-changes] [pkg-nagios-plugins] 225/413: return Warning when rebuilding volume

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 6464c1334fa5c175bf678f62d603fcb8cd8cc2f5
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Mar 19 14:41:31 2010 +0000

    return Warning when rebuilding volume
---
 debian/changelog                                      |  2 ++
 debian/patches/42_check_linux_raid_fix_rebuild.dpatch | 17 +++++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 21c13a1..0110021 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ nagios-plugins (1.4.14-3) UNRELEASED; urgency=medium
   * 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
 
diff --git a/debian/patches/42_check_linux_raid_fix_rebuild.dpatch b/debian/patches/42_check_linux_raid_fix_rebuild.dpatch
new file mode 100755
index 0000000..f99208f
--- /dev/null
+++ b/debian/patches/42_check_linux_raid_fix_rebuild.dpatch
@@ -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;
+ 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list