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.
ch@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.
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@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@vmserver1:~$ sudo /usr/lib/ nagios/ plugins/ check_linux_ raid nagios/ plugins/ check_linux_ raid line 82, <MDSTAT> line 11. nagios/ plugins/ check_linux_ raid line 91, <MDSTAT> line 11.
Use of uninitialized value within %status in pattern match (m//) at
/usr/lib/
Use of uninitialized value within %status in pattern match (m//) at
/usr/lib/
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. plugins- 1.4.14- 1ubuntu1.
nagios-