[Pkg-nagios-devel] Bug#575382: nagios-plugins-standard: check_linux_raid does not warn if resync is in process

Christoph Martin martin at uni-mainz.de
Thu Mar 25 11:52:49 UTC 2010

Package: nagios-plugins-standard
Version: 1.4.12-5
Severity: normal

Thanks for the last patch. There is another one:

check_linux_raid should also warn if a md device is in resync mode
and not only if in recovory mode.

*** /usr/lib/nagios/plugins/check_linux_raid.pl~        Fri Mar 19 12:06:24 2010
--- /usr/lib/nagios/plugins/check_linux_raid.pl Wed Mar 24 00:21:04 2010
*** 61,67 ****
                if (defined $device) {
                        if (/(\[[_U]+\])/) {
                                $status{$device} = $1;
!                       } elsif (/recovery = (.*?)\s/) {  
                                $recovery{$device} = $1;
                                ($finish{$device}) = /finish=(.*?min)/;
--- 61,67 ----
                if (defined $device) {
                        if (/(\[[_U]+\])/) {
                                $status{$device} = $1;
!                       } elsif (/(recovery|resync) = (.*?)\s/) {  
                                $recovery{$device} = $1;
                                ($finish{$device}) = /finish=(.*?min)/;


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable'), (90, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins-standard depends on:
ii  dnsutils        1:9.5.1.dfsg.P3-1+lenny1 Clients provided with BIND
ii  fping           2.4b2-to-ipv6-15         sends ICMP ECHO_REQUEST packets to
ii  host            20000331-9               utility for querying DNS servers
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libldap-2.4-2   2.4.11-1+lenny1          OpenLDAP libraries
ii  libmysqlclient1 5.0.51a-24+lenny3        MySQL database client library
ii  libnet-snmp-per 5.2.0-1                  Script SNMP connections
ii  libpq5          8.3.9-0lenny1            PostgreSQL C client library
ii  libradiusclient 0.5.5-1                  Enhanced RADIUS client library
ii  nagios-plugins- 1.4.12-5                 Plugins for the nagios network mon
ii  qstat           2.11-1                   Command-line tool for querying qua
ii  radiusclient1   0.3.2-11.1               /bin/login replacement which uses 
ii  smbclient       2:3.2.5-4lenny9          a LanManager-like simple client fo
ii  snmp            5.4.1~dfsg-12            SNMP (Simple Network Management Pr
ii  ucf             3.0016                   Update Configuration File: preserv

nagios-plugins-standard recommends no packages.

Versions of packages nagios-plugins-standard suggests:
pn  nagios3                       <none>     (no description available)
pn  whois                         <none>     (no description available)

-- no debconf information

More information about the Pkg-nagios-devel mailing list