Monitoring Dell SAS 5/iR RAID with nagios

The Dell PERC/5 shows like this under ‘lspci’

The status of this RAID card can be read using mpt-status, in Gentoo this package is available as sys-block/mpt-status. Here’s an example of the output:

The latest ‘check_mpt’ script can be found on Nagios Exchange. Download it and put it in your libexec folder, for me on gentoo its ‘/usr/nagios/libexec/’. Open the file, and make sure the ‘use lib’ line points to the correct place.

The script uses sudo to run mpt-status, so you’ll need to modify your /etc/sudoers – adding a line like this:

Next, you need to configure nagios, your filenames might be different from the names I use below.

/etc/nagios/commands.cfg : Note, the -c param refers to the number of disks you expect to be active.

/etc/nagios/localhost.cfg

Reload nagios, on gentoo, it’s /etc/init.d/nagios reload

See also: Monitoring PERC 4e over SNMP with nagios

4 thoughts on “Monitoring Dell SAS 5/iR RAID with nagios”

  1. I just wanted to say thanks for this post. I’m running gentoo so getting OMSA or MSM to run right has been a challenge. mpt-status made it a lot easier to at least check to make sure everything looks OK. When I googled for “gentoo monitor sas 5/ir” your page was the first hit and had just what I needed.

  2. I have Dell SAS 5/iR Adapter RAID Controller in my WINDOW server and monitoring is done in LINUX with NAGIOS.

    I have tried some nagios plugins availble from nagiosexchange and I was not able to get the desired result.

    Do you have any suggestion of a plugin availble?

Leave a Reply

Your email address will not be published. Required fields are marked *