IBM San Volume Controller

Check IBM Storwize V7000 Unified / SONAS Performance

Description:

This bash script reports on various performance metrics of an IBM Storwize V7000 Unified / SONAS system, using the ‘lsperfdata’ CLI command.

Current Version

1.0

Last Release Date

2016-06-15

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

License

MIT


Project Files
Project Notes
For a list of supported metrics run the script without any commandline arguments. The script uses the performance center service which needs to be running on all nodes of Storwize V7000 Unified / SONAS. The plugin produces Nagios performance data so it can be graphed. The following CLI command is used to retrieve performance data: # lsperfdata (http://www-01.ibm.com/support/knowledgecenter/STAV45/com.ibm.sonas.doc/manpages/lsperfdata.html) If the above command is unable to retrieve performance data, then one reason might be that performance data collection is not running, which can be verified and fixed with this CLI command: # cfgperfcenter (http://www-01.ibm.com/support/knowledgecenter/STAV45/com.ibm.sonas.doc/manpages/cfgperfcenter.html) The actual code is managed in the following GitHub rebository - please use the Issue Tracker to ask questions, report problems or request enhancements. https://github.com/acch/nagios-plugins The script requires SSH Public Key Authentication for connecting to the Storwize V7000 Unified / SONAS system. SSH Public Key Authentication needs to be set up first, before running the script. To test your SSH configuration, try to login to Storwize V7000 Unified / SONAS via SSH from the Nagios server as the Nagios user - if this works without prompting you for a password you seem to have properly configured Public Key Authentication. If you get a "Permission denied" error when running the script, the most likely reason for that is Public Key Authentication not being configured correctly for the Nagios user (by default called 'nagios'). It is strongly recommended to create a dedicated read-only Storwize V7000 Unified / SONAS user to be used by this script. This eases problem determination, allows for proper audit tracing and helps avoiding undesired side-effects. Also, it eliminates the risk of script errors having an impact on your actual production environment... To create a read-only user 'nagios' with password 'secret' on Storwize V7000 Unified / SONAS, run the following commands as the Nagios operating-system user (by default called 'nagios', too): # ssh admin@[mgmt_ip_address] mkuser nagios -p secret -g Monitor # ssh admin@[mgmt_ip_address] chuser nagios -k "`cat ~/.ssh/id_rsa.pub`" Note that you may need to modify the last command to point to the actual location of your SSH public key file used for authentication
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,325