[Bug 621380] [NEW] bad output from check_linux_raid
chris
ch at awry.ws
Fri Aug 20 21:20:55 BST 2010
Public bug reported:
Binary package hint: nagios-plugins
The check_linux_raid script is slightly broken. If you do not pass an MD
device, it should check all MD devices on the host. However, upon
running the check, it outputs:
Use of uninitialized value within %status in pattern match (m//) at ./check_linux_raid line 82, <MDSTAT> line 11.
Use of uninitialized value within %status in pattern match (m//) at ./check_linux_raid line 91, <MDSTAT> line 11.
OK md0 status=[UUUU]. md1 status=[UUUU]. md2 active with no status information.
The first two lines are invalid output for a nagios script.
There is a bug in Debian's tracker (#579049), but I don't see one here.
The fix is a simple patch (attached).
** Affects: nagios-plugins (Ubuntu)
Importance: Undecided
Status: New
--
bad output from check_linux_raid
https://bugs.launchpad.net/bugs/621380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in ubuntu.
More information about the Ubuntu-server-bugs
mailing list