[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/06: check_raid: Updating to latest git master to fix with arcconf

Jan Wagner waja at moszumanska.debian.org
Fri Oct 17 14:19:37 UTC 2014


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

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

commit 7fdccaccda72fac0cf413ea6b5d8dea573a7f85d
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Oct 17 15:26:40 2014 +0200

    check_raid: Updating to latest git master to fix with arcconf
---
 check_raid/check_raid | 3 ++-
 check_raid/control    | 2 +-
 debian/control        | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/check_raid/check_raid b/check_raid/check_raid
index 72ed784..5989ff5 100644
--- a/check_raid/check_raid
+++ b/check_raid/check_raid
@@ -2367,6 +2367,7 @@ sub sudo {
 
 sub parse_error {
 	my ($this, $message) = @_;
+	warn "arcconf: parse error: $message";
 	$this->unknown->message("Parse Error: $message");
 }
 
@@ -2823,7 +2824,7 @@ sub check {
 				$this->spare;
 				$pd->{status} = "$pd->{status} for $pd->{spare}";
 
-			} elsif ($pd->{status} !~ '^Online|Hot[- ]Spare') {
+			} elsif ($pd->{status} !~ /^Online|Hot[- ]Spare|Ready/) {
 				$this->critical;
 			}
 
diff --git a/check_raid/control b/check_raid/control
index 884ea14..4ab9baa 100644
--- a/check_raid/control
+++ b/check_raid/control
@@ -1,7 +1,7 @@
 Homepage: https://github.com/glensc/nagios-plugin-check_raid
 Watch: https://github.com/glensc/nagios-plugin-check_raid "/glensc/nagios-plugin-check_raid/tree/([0-9.]+)"
 Suggests: cciss-vol-status (>= 1.10), mpt-status
-Version: 3.2.1+e89c93fe8f
+Version: 3.2.1+47b33d53db
 Uploaders: Bernd Zeimetz <bzed at debian.org>
 Description: plugin to check sw/hw RAID status
  The plugin looks for any known types of RAID configurations,
diff --git a/debian/control b/debian/control
index 9426a92..2bbf066 100644
--- a/debian/control
+++ b/debian/control
@@ -106,7 +106,7 @@ Description: Plugins for nagios compatible monitoring systems
    * check_printer: plugin to check printer supply levels using SNMP
      It outputs performance data for all supplies
      found, for example toner and drum.
-   * check_raid (3.2.1+e89c93fe8f): plugin to check sw/hw RAID status
+   * check_raid (3.2.1+47b33d53db): plugin to check sw/hw RAID status
      The plugin looks for any known types of RAID configurations,
      and checks them all.
      .

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



More information about the Pkg-nagios-changes mailing list