[Bug 621380] Re: bad output from check_linux_raid

chris ch at awry.ws
Sat Aug 21 05:43:05 BST 2010


On 08/20/2010 05:10 PM, Clint Byrum wrote:
> Hi Chris, thanks for reporting this bug and working with us to make
> Ubuntu even better!
> 
> I haven't been able to reproduce this.

> CRITICAL md0 status=[_U]. md1 status=[_U]. md2 status=[UU].


It appears to be specific to RAID0.

/proc/mdstat for RAID0 stripes doesn't bother to list the member devices
or their statuses, since if the stripe goes down,the whole thing is toast.

E.g.:

ch at vmserver1:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md2 : active raid0 sdf1[1] sde1[0]
      1952443392 blocks 64k chunks

md0 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      995904 blocks [4/4] [UUUU]

md1 : active raid5 sdc2[2] sdd2[3] sda2[0] sdb2[1]
      1460549184 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]


ch at vmserver1:~$ sudo /usr/lib/nagios/plugins/check_linux_raid
Use of uninitialized value within %status in pattern match (m//) at
/usr/lib/nagios/plugins/check_linux_raid line 82, <MDSTAT> line 11.
Use of uninitialized value within %status in pattern match (m//) at
/usr/lib/nagios/plugins/check_linux_raid line 91, <MDSTAT> line 11.
OK md0 status=[UUUU]. md1 status=[UUUU]. md2 active with no status
information.


> Does this only happen in the embedded perl mode of nagios? Also what
> version of the nagios-plugins package do you have in stalled?


I don't believe I'm using the embedded perl version.
nagios-plugins-1.4.14-1ubuntu1.

-- 
bad output from check_linux_raid
https://bugs.launchpad.net/bugs/621380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in ubuntu.



More information about the Ubuntu-server-bugs mailing list