At the new job, we’ve got several ACNC JetStor drive arrays. They’re pretty nice units for the price… we have several 3TB SCSI arrays and several 12TB Fibre Channel arrays.
One of the features that’s always been set up and in place at work has been that the units send email notifications if they have an ‘event’. This is great, but wouldn’t indicate pending problems nor would it indicate the failure of the management card. (Well, ‘cept that all the websites would go down…) Since I’ve been implementing Nagios, I’ve also been implementing monitoring of all of our devices via SNMP. I’m doing performance monitoring on things like fan speeds and (where available) drive spindle speeds/smartd scores, monitoring power supplies, etc.
This plugin is written in Perl and requires Perl::NetSNMP. It’s released under a Creative Commons Attribute-Share-Alike license, and is derived from another script (noted in the comments at the head of the script).
The script will monitor fan speeds, status, and count, power supply status and count, and soon (after I get one that I can test with and break in new and interesting ways) will monitor drive status and volume and let you know if anything changes. This will break the Nagios model in a slight way in that it’s going to retain status information.
Here’s the link: check_jetstor_snmp. The script has the necessary OIDs in it and should not require a MIB file. It’s been verified to work with a JetStor III, JetStor 416, and a JetStor 516F. The blown power supply sitting on my desk can verify this! If you find any bugs or have any other suggestions, please feel free to use the contact form on the ‘About’ page. As usual, no warranty is expressed or implied — use at your own risk. SNMP polling is disabled by default in the JetStor configuration, so be sure to set a community string before you try testing with it or it won’t work.
I’ll also be releasing a script soon (and starting a Nagios Plugins section of the site) for passive SNMP trapping using SNMPD… just need to spend some more time breaking things first.
These are Amazon Affiliate links. I’ve personally selected these books because they relate to the topic at hand. If you buy something via one of my links, you get a book, and I get a share of the revenue from Amazon… it’s a good deal for both of us, and it lets me afford bandwidth and the occasional package of Ramen. Thanks!
No comments yet.
If you enjoy the content, consider subscribing to the feed(s).
Jump to comments