Nagios Plugin for the Promise VTrak 200i

For a project I was working on, I installed a Promise VTrak M200i disk shelf (i for iSCSI but then that’s a whole other blog post!) and needed to add it into the customers management systems.

Unfortunately there didn’t seem to be a lot of information out there on Promise’s SNMP MIBs so with a bit of playing about, I was able to dig out the ones I needed. The Nagios plug-in I wrote and am making available here will monitor the shelf via SNMP and alert on the following chassis issues:

  • critical if any of the shelf’s disk states changes from “OK”;
  • warning if the battery state changes from “FullyCharged”;
  • critical if either of the PSU states change from “Powered On and Functional”;
  • critical is any of the cooling devices (fans) change from “Functional”;
  • critical if any of the temperature sensors’ states change from “normal”;
  • critical if any of the drives go offline or are missing; and
  • warning if any of the drives go into the rebuilding state or have their PFA flag set.

While this is specifically designed for a single M200i, it should be easily customisable for other models.

It can be downloaded from here (http://www.opensolutions.ie/). It will also appear on the development section of this site and Nagios Plugins.

OIDs Used

1.3.6.1.4.1.7933.1.10.2.1.1.1.8
The table of physical disk statuses.
.1.3.6.1.4.1.7933.2.1.7.1.1.14.1.1
The battery status.
.1.3.6.1.4.1.7933.2.1.4.1.1.2.1
The table of Power Supply Unit statuses.
.1.3.6.1.4.1.7933.2.1.3.1.1.3.1
The table of cooling device/fan statuses.
.1.3.6.1.4.1.7933.2.1.5.1.1.3
The table of temperature sensor statuses.
.1.3.6.1.4.1.7933.1.10.1.2.1.1.22.1
The number of drives that are offline.
.1.3.6.1.4.1.7933.1.10.1.2.1.1.23.1
The number of drives in the PFA status set.
.1.3.6.1.4.1.7933.1.10.1.2.1.1.24.1
The number of drives in rebuild status.
.1.3.6.1.4.1.7933.1.10.1.2.1.1.25.1
The number of drives that are missing.

5 thoughts on “Nagios Plugin for the Promise VTrak 200i”

  1. OIDs for E-Class (tested on E310s)

    my $snmpDiskStatusTable = ‘1.3.6.1.4.1.7933.1.20.2.1.1.8.1’;
    my $snmpBatteryStatus = ‘.1.3.6.1.4.1.7933.1.20.1.15.1.14.1.1.1’;
    my $snmpPSUStatusTable = ‘.1.3.6.1.4.1.7933.1.20.1.12.1.2’;
    my $snmpCoolingDeviceStatusTable = ‘.1.3.6.1.4.1.7933.1.20.1.11.1.3’;
    my $snmpTemperatureStatusTable = ‘.1.3.6.1.4.1.7933.1.20.1.13.1.3’;
    my $snmpDrivesOffline = ‘.1.3.6.1.4.1.7933.1.20.1.3.1.21.1.1’;
    my $snmpDrivesWithPFA = ‘.1.3.6.1.4.1.7933.1.20.1.3.1.22.1.1’;
    my $snmpDrivesRebuilding = ‘.1.3.6.1.4.1.7933.1.20.1.3.1.23.1.1’;
    my $snmpDrivesMissing = ‘.1.3.6.1.4.1.7933.1.20.1.3.1.24.1.1’;

  2. You may also want to take a look at the plugin at
    http://www.consol.de/apple/nagios-plugins/check-promise-vtrak/

    I’m using a Provigo 510S from Transtec which is similar to the Promise VTrak series. My OIDs are as follows:

    my $snmpDiskStatusTable=’.1.3.6.1.4.1.7933.1.20.2.1.1.8.1′;
    my $snmpPSUStatusTable=’.1.3.6.1.4.1.7933.1.20.1.12.1.2.1.1′;
    my $snmpCoolingDeviceStatusTable=’.1.3.6.1.4.1.7933.1.20.1.11.1.3.1.1′;
    my $snmpTemperatureStatusTable=’.1.3.6.1.4.1.7933.1.20.1.13.1.3.1.1′;
    my $snmpDrivesOffline=’.1.3.6.1.4.1.7933.1.20.1.3.1.21.1.1′;
    my $snmpDrivesWithPFA=’.1.3.6.1.4.1.7933.1.20.1.3.1.22.1.1′;
    my $snmpDrivesRebuilding=’.1.3.6.1.4.1.7933.1.20.1.3.1.23.1.1′;
    my $snmpDrivesMissing=’.1.3.6.1.4.1.7933.1.20.1.3.1.24.1.1′;

  3. Cool 🙂
    I’m also working on cacti template for this stuff – mostly in the background, so only snmp queries are ready by now. If you are also interested in finishing it and making avaliable to the public pls let me know.

Comments are closed.