BMDan New User
Joined: 26 Mar 2008 Posts: 3
|
Posted: Mon May 05, 2008 4:58 pm Post subject: 3Ware SNMP Monitoring (RPM) |
|
|
BlackMesh, Inc., a leading provider of managed hosting and other technology solutions, is pleased to announce the immediate public availability of a script to integrate 3Ware's powerful RAID controllers with Cacti, Nagios, and other SNMP-aware monitoring applications.
This software integrates with 3Ware's CLI, available at http://www.3ware.com/support/download.asp . It was tested with 3Ware CLI for x86_64 version 2.00.07.009. Results are, to put it mildly, expected to be variable on any other platform. The CLI must be on your path during RPM install, which is a more compact path than your default shell's; on my build system, it's "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin". If it's not, the RPM will fail to install; just rpm -e to clean up its mess and try again.
The license for our code is CC-by-sa-3.0; basically, you can modify it any way you like, but you must continue to identify the original source (that'd be BlackMesh) and distribute it under a CC-by-sa-3.0 license, and we're not responsible for anything that happens to your computer. 3Ware's software is not part of this package and is distributed under a different license. Of course, I'd love to incorporate any changes you'd care to make back into the main tree.
This software is not designed, supported, or in any way associated with 3Ware, AMCC, etc. AMCC is a registered trademark of Applied Micro Circuits Corporation. 3ware is a registered trademark in the United States of Applied Micro Circuits Corporation. All other trademarks are the property of their respective holders.
To download the software, visit the following link:
http://www.blackmesh.com/~dreif/tw_bm/
A sample snmpwalk:
| Code: |
user@host# snmpwalk -v 2c -c communityname 127.0.0.1 .1.3.6.1.4.1.30996.0.0.0
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.0 = STRING: "-"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.1 = STRING: "-"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.2 = STRING: "OK"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.3 = STRING: "RAID-1"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.4 = STRING: "149.001"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.5 = STRING: "-"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.6 = STRING: "OFF"
SNMPv2-SMI::enterprises.30996.0.0.0.0.0.7 = STRING: "ON"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.0 = STRING: "GB"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.1 = STRING: "u0"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.2 = STRING: "312581808"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.3 = STRING: "4MT0ZPRF"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.4 = STRING: "OK"
SNMPv2-SMI::enterprises.30996.0.0.0.1.0.5 = STRING: "149.05"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.0 = STRING: "GB"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.1 = STRING: "u0"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.2 = STRING: "312581808"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.3 = STRING: "4MT23EEK"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.4 = STRING: "OK"
SNMPv2-SMI::enterprises.30996.0.0.0.1.1.5 = STRING: "149.05" |
This output corresponds to:
| Code: |
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-1 OK - - - 149.001 ON OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 149.05 GB 312581808 4MT23EEK
p1 OK u0 149.05 GB 312581808 4MT0ZPRF
p2 NOT-PRESENT - - - -
p3 NOT-PRESENT - - - -
|
Source RPM's available upon request. Enjoy!
BMDan
|
|