[Pkg-nagios-devel] Bug#692598: nagios-plugins-contrib: check_raid seems broken for some 3ware configurations

Jan Wagner waja at cyconet.org
Wed Nov 7 19:04:25 UTC 2012


Package: nagios-plugins-contrib
Version: 4.20120702
Severity: normal
Tags: patch

Running check_raid on a system with a 3ware controller (here 9500S-4LP)
may result into reporting "CRITICAL" while tw_cli says all logical
devices are fine:

# /usr/lib/nagios/plugins/check_raid
CRITICAL: 3ware:[c0(9500S-4LP): u0:OK, (disks: p0:OK p1:OK p2:OK
p3:NOT-PRESENT)]
# tw_cli /c0 show

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
------------------------------------------------------------------------------
u0    RAID-5    OK             -       -       64K     465.641   OFF
OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     298.09 GB   625142448     WD-WCAT15828440

p1     OK               u0     233.76 GB   490234752     WD-WMANK1948500

p2     OK               u0     233.76 GB   490234752     WD-WCANK3813556

p3     NOT-PRESENT      -      -           -             -

Looking into latest upstream, which has major improvements for
check_raids, there is a fix included.

Applying the attached patch fixes the issue.

Cheers and thanks, Jan.
-- 
Never write mail to <waja at 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------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_raid.diff
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20121107/5f9c53e2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20121107/5f9c53e2/attachment.pgp>


More information about the Pkg-nagios-devel mailing list