[Nagiosplug-devel] [ nagiosplug-Bugs-2812592 ] check_linux_raid returns UNKNOWN for md10 and above
SourceForge.net
noreply at sourceforge.net
Mon Apr 12 17:03:21 CEST 2010
Bugs item #2812592, was opened at 2009-06-26 08:53
Message generated for change (Comment added) made by hweiss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2812592&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: Release (specify)
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: Jan Wagner (cyco_dd)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_linux_raid returns UNKNOWN for md10 and above
Initial Comment:
The following Bugreport we got against our debian package (1.4.12):
check_linux_raid malfunctions if system has software RAID devices with two or more digits. For example, for system having /dev/md10, /dev/md11 etc, the plugin returns 'UNKNOWN' in automatic mode (if RAID devices are manually specified it works). Also, if system has both one-digit, and two-digit RAID devices, the two-digit devices are silently ignored in checks, which is even more problematic.
Problem is that plugin checks only for 'md[0-9]' devices in /proc/mdstat. Trivial patch which fixes that by looking for 'md[0-9]+' instead is attached.
You can track the bugreport via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534604
Thanks and kind regards, Jan.
----------------------------------------------------------------------
>Comment By: Holger Weiss (hweiss)
Date: 2010-04-12 17:03
Message:
I've applied the patch even though this is a "contrib" plugin (in order to
make the Debian maintainer's life easier) :-)
----------------------------------------------------------------------
Comment By: Stefan Mayr (dragoslav)
Date: 2009-08-30 14:00
Message:
The same issue has been mentioned in german thread at the Nagios portal:
http://www.nagios-portal.org/wbb/index.php?page=Thread&threadID=15773
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2812592&group_id=29880
More information about the Devel
mailing list