check_megaraid

Overview

check_megaraid is a Nagios (formerly Netsaint) plugin that monitors the status of logical and physical drives on a Dell PowerEdge Raid Controller (PERC) card. It uses snmp to query the target host and reports an OK status if:

  1. the logical drives are reported as "optimal" and
  2. the physical drives are not in a "failed" or "rebuild" state
This plugin has been tested on machines with one controller card. Please see the to do list below if you have a more complex configuration.

News

08 Sept 2004 - Project page and install notes have been updated to reflect the current Dell tools and Linux web site.

22 March 2002 - I've rewritten the plugin to use Net::SNMP instead of the SNMP_util package. Hopefully, this will make it easier to install.

Installation

Since the plugin uses snmp to monitor the target host, some additional software is required for this to work. Here's a brief list with links to relevant sites:

Install megamon and percsnmp on the target host (the one with the PERC card to be monitored). Install Net::SNMP on the Nagios server. The target host also needs to have snmp server software running on it.

If you have problems, such as Nagios reporting status UNKNOWN, try running check_megaraid from the command line on the Nagios server. This may give indications on what's wrong. Also check that the snmp community string is correct.

Download

Current release:
check_megaraid.0.8.2.tgz (3k)

Old releases:
check_megaraid.0.8.1.tgz (2k)
check_megaraid.0.8.tgz (2k)

Nagios configuration example

command[check_megaraid]=/usr/local/nagios/libexec/check_megaraid -H $HOSTADDRESS$ -C $ARG1$

service[target_host]=megaraid;0;24x7;3;10;5;admins;60;24x7;1;1;1;;check_megaraid!public

To do list

Still on my to do list is to make the plugin work with multiple controllers. If you have a machine that fits this description, please email me a full snmpwalk of the .1.3.6.1.4.1.3582 oid. Send mail to john-at-ibiblio-dot-org


Last modified: 08 Sept 2004
Contact: john-at-ibiblio-dot-org