[Nagiosplug-devel] [ nagiosplug-Bugs-2812592 ] check_linux_raid returns UNKNOWN for md10 and above

SourceForge.net noreply at sourceforge.net
Thu Aug 6 00:59:41 CEST 2009


Bugs item #2812592, was opened at 2009-06-26 08:53
Message generated for change (Settings changed) made by cyco_dd
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: Open
Resolution: None
>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.

----------------------------------------------------------------------

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