The Altruist

The Altruist’s position presents him with opportunities not normally present. He shares the benefits, so that the lives of those whom he protects will be enriched.

map_raid - poll Dell servers to map RAID objects for SNMP monitoring

Written by Adrian Goins on Aug 28, 2010 in Nagios

This is a useful module which will poll a Dell server and dynamically map the controllers and disks on the system, outputting a command which can be pasted into your Nagios configuration. In order for it to work, you'll need to have the Dell StorageManagement and ArrayManager MIBs installed on your system. It also refers to the 'check_snmp_regex' command, which we have defined as:

$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -r $ARG3$

The command can be run with verbosity enabled to show you what it's doing. Output will be something like:

Identified Dell ArrayManagement-MIB

Name: Virtual Disk 0
OID: 1.3.6.1.4.1.674.10893.1.1.140.1.1.4.1
Status: ready
Member 1:
Name: Array Disk 0:0
OID: 1.3.6.1.4.1.674.10893.1.1.130.4.1.4.1
Status: ready
Member 2:
Name: Array Disk 0:1
OID: 1.3.6.1.4.1.674.10893.1.1.130.4.1.4.2
Status: ready

Nagios command:
check_snmp_regex!yourcommunity!ArrayManager-MIB::virtualDiskState.1,ArrayManager-MIB:
:arrayDiskState.1,ArrayManager-MIB::arrayDiskState.2!"ready"

You can copy this command (without the line break needed here for word wrapping) directly into your Nagios configuration file for "RAID Status" on the server you polled. If the volume or one of its member disks reports any status other than "ready," Nagios will generate an alert.

Note: Dell periodically updates their controllers and the MIBs - if you have a newer Dell server and find that this tool doesn't work, please let us know and we'll look into it for you.

Download Latest Version