Dell

LSI Mega RAID plugin for 32-bit and 64-bit systems

Description:

Plugin to test LSI MegaRaid or Dell Perc arrays on 32-bit and 64-bit systems

Current Version

Last Release Date

June 12, 2009

Compatible With


Project Files
Project Notes
This plugin has been tested on Linux with 320-xx series LSI Raid controllers on both 32-bit and 64-bit architectures as well as Dell Perc Raid. It requires that you have the megarc.bin utility which can be downloaded from LSI's website at http://www.lsi.com/files/support/rsa/utilities/megaconf/ut_linux_megarc_1.11.zip All you have to do is put the plugin and the utility in the same directory and then run the plugin. You will need to run the plugin as root as this is the only way it can get the details on the RAID arrays. This is not my design but that of LSI. Use sudo to run the plugin as the nagios user with the privileges of root. Put the following line in your /etc/sudoers file to allow the nagios user to run the plugin as root: nagios ALL=(ALL) NOPASSWD: /path/to/check_lsi_megaraid Run the plugin is as follows: sudo /path/to/check_lsi_megaraid RAID OK: All arrays OK [12 arrays checked on 2 controllers] This runs straight on both 32-bit and 64-bit systems and all modern linux distros that have Python. This has been tested and works on servers of both x86 and amd64/x86_64 architectures and across distros. NOTE: The way the megamgr.bin and the Bios count arrays (starting at 1) is different to the way megarc.bin counts arrays (starting at 0) so this plugin counts arrays starting at 1 to follow the Bios and megamgr.bin. This makes more sense since most people will use these to manage their arrays. Support If you have any issues, contact me at hpsekhon(AT)googlemail.com
Reviews (1) Add a Review
Small bug
by Hassib Belhaj, September 30, 2014

Thanks, very useful script. I have has a small problem with it on older Linux systems. in the SRCDIR definition: os.path.dirname() does not return a full path if sys.argv[0] doesn't contain one, which result in an error. (This is the case on some systems, like older versions of CentOS). replacing it with the following: SRCDIR = os.path.abspath(os.path.dirname(sys.argv[0])) would solv the problem and be more robust. Regards



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
1
Views
110,150