Hi Christoph,

thanks for your report.

On Friday 19 March 2010 12:21:18 Christoph Martin wrote:
> If you have a status like the following:
[...]
> check_linux_raid will return no Warning state but Ok state. This is
> because the script wants to see an empty line after each md block,
> which is not the case if a recovery is running.
>
> Here is a patch to fix this:
>
> *** /usr/lib/nagios/plugins/check_linux_raid~        Wed Nov 25 12:11:58
> 2009 --- /usr/lib/nagios/plugins/check_linux_raid Fri Mar 19 12:06:24 2010
> ***************
> *** 64,69 ****
> --- 64,70 ----
>                         } elsif (/recovery = (.*?)\s/) {
>                                 $recovery{$device} = $1;
>                                 ($finish{$device}) = /finish=(.*?min)/;
> +                               $device=undef;
>                         } elsif (/^\s*$/) {
>                                 $device=undef;
>                         }

I applied the patch to the scm and it should be included into the next upload. 
Anyhow ... this script is installed from the contrib section of upstream, 
which tries to get rid of those. For the future, I think we will remove 
check_bgpstate and check_linux_raid or move to an other package.

With kind regards, Jan.
-- 
Never write mail to <w...@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to