Commit graph

9 commits

Author SHA1 Message Date
Thomas Guyot-Sionnest
e30f778640 Patch for check_linux_raid with on linear/raid0 arrays
Fixes bug #3049988, Debian bug #579049
2010-10-05 23:19:03 -04:00
Holger Weiss
753b884088 Fix Debian bug #574612: Return WARNING on rebuild
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-12 15:55:18 +02:00
Holger Weiss
933918ce5d Fix Debian bug #534604: Checking md10 and above
| 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.)
2010-04-12 15:49:24 +02:00
Thomas Guyot-Sionnest
29d5acb7c8 These plugins assumed the "use lib util.pm;" would be substituted like 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
2007-08-28 03:19:45 +00:00
M. Sean Finney
3987202794 some gratuitous whitespace changes, and a fix to the "recovery =" detection
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-07 14:28:33 +00:00
M. Sean Finney
4522ae336d gave some TLC to check_linux_raid
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1412 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-01 22:30:51 +00:00
Matthew Kent
b51ab9df98 Better error checking (820806)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@948 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29 04:49:10 +00:00
Matthew Kent
ef71bc5f57 Fix always reading status from the last line (1045506)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@917 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-20 22:43:51 +00:00
Subhendu Ghosh
005a4281f4 new plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@73 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-14 19:01:58 +00:00