david-barbion/monitoring — pull request #4 by mzs-github (2014-05-18 01:52:51+00:00)
Title: check_msa_hardware.pl: add check for overall unit status

Hi David,

Thanks for publishing the check_msa_hardware plugin. I've been using it to watch a number of MSA P2000 G3's.

I've had a number of controller and CompactFlash failures in these units and I noticed the plugin wasn't catching it, as it's mainly checking the hardware sensors. I'm attaching a patch that adds a check for the overall unit status. If none of the hardware sensors are reported as warning, but the overall unit status is warning, it'll now report something like "HP StorageWorks P2000 G3 iSCSI: Overall unit status WARNING".

Thanks,
Mike

PS: I found the plugin at http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-HP-MSA-(Modular-Smart-Array)-sensors/details which lists your old ADEO Services e-mail address.