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.