A while back I started to have some odd compatibility issues with the LSI MegaCli utility for FreeBSD on some of my systems, which was a pain because I depended on MegaCli working for my check_megaraid_sas plugin. All of the systems tat I had set up early on using Linux compatability mode worked fine, but I had one system using the FreeBSD version of the client that stopped working at some point that was unclear… many changes had been made to the system involved that were hard to back out. The problem couldn’t be immediately replicated on other a similar system, but it eventually showed up elsewhere as well.
Faced with such a challenge, I opted to punt for the time being and focus on other items. Priorities were able to allow for more thinking on the matter, and I decided that instead of banging my head against the table to figure out why things were not working when they should I would make this work using something other than MegaCli.
mfiutil was added to FreeBSD with the release of 8.0 and later on back ported to 7.3 as well. It doesn’t provide as great of detail about the RAID status or as much control as MegaCli does, but it works simply and hopefully should have more consistent performance and compatibility with the system. Using mfiutil (and my usual Perl) I have written a Nagios plugin to monitor the status of all physical drives and volumes recognized by the mfi driver.
(more…)
