summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a661c7)
raw | patch | inline | side by side (parent: 7a661c7)
author | Holger Weiss <holger@zedat.fu-berlin.de> | |
Mon, 12 Apr 2010 13:49:24 +0000 (15:49 +0200) | ||
committer | Holger Weiss <holger@zedat.fu-berlin.de> | |
Mon, 12 Apr 2010 13:49:24 +0000 (15:49 +0200) |
| 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.
[ http://bugs.debian.org/534604 ]
(Fixed by Matija Nalis, forwarded by Jan Wagner.)
| 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.
[ http://bugs.debian.org/534604 ]
(Fixed by Matija Nalis, forwarded by Jan Wagner.)
contrib/check_linux_raid.pl | patch | blob | history |
index da1aff84790fa2e74ae8480aa2f0032834e65a08..c7c9c55e4b2e684e6a60f878c9556814e5daf298 100644 (file)
my $nextdev;
if(defined $ARGV[0]) { $nextdev = shift; }
-else { $nextdev = "md[0-9]"; }
+else { $nextdev = "md[0-9]+"; }
my $code = "UNKNOWN";
my $msg = "";