summaryrefslogtreecommitdiffstats
path: root/contrib/check_linux_raid.pl
AgeCommit message (Collapse)AuthorFilesLines
2013-08-17contrib/check_linux_raid.pl: Fix whitespace errorsHolger Weiss1-15/+14
Use tabs instead of spaces for indentation.
2013-08-17update check_linux_raid to take in consideration resync status and rise up a ↵Erwan Ben Souiden1-2/+13
warning alert
2012-09-22This patch fixes the regular expression for the array recoveryrefs/pull/18/headAlex Bradley1-1/+1
completion percentage to detect the percentage when there is more than one space between between "recovery =" and the percentage. (When the percentage is less than 10%, /proc/mdstat shows it left-padded with an extra space: "recovery = 7.6%".)
2010-10-06Patch for check_linux_raid with on linear/raid0 arraysThomas Guyot-Sionnest1-3/+9
Fixes bug #3049988, Debian bug #579049
2010-04-12Fix Debian bug #574612: Return WARNING on rebuildHolger Weiss1-0/+1
Let check_linux_raid return a WARNING instead of an OK state during volume recovery. See: http://bugs.debian.org/574612 (Fixed by Christoph Martin, forwarded by Jan Wagner.)
2010-04-12Fix Debian bug #534604: Checking md10 and aboveHolger Weiss1-1/+1
| 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.)
2007-08-28These plugins assumed the "use lib util.pm;" would be substituted like ↵Thomas Guyot-Sionnest1-1/+1
standard Perl plugins (in plugins-scripts) which isn't the case in contrib. I changed the "use lib" line to use the default path. People using custom paths will have to change it manually. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1771 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-07some gratuitous whitespace changes, and a fix to the "recovery =" detectionM. Sean Finney1-11/+9
logic in check_linux_raid.pl git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1418 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-01gave some TLC to check_linux_raidM. Sean Finney1-52/+74
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1412 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29Better error checking (820806)Matthew Kent1-1/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@948 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-20Fix always reading status from the last line (1045506)Matthew Kent1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@917 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-14 new pluginsSubhendu Ghosh1-0/+80
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@73 f882894a-f735-0410-b71e-b25c423dba1c