IBM San Volume Controller

IBM Storwize v7000 Performance

Description:

Plugin to check storage’s performance. It doesn’t need any extra libraries.

Current Version

1.3

Last Release Date

2019-01-25

Compatible With

  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
This plugin checks several metrics returned by the "lssystemstats" command. In general, it checks all lines that have a percentage value: cpu, compression cpu, write cache, total cache. Plus, latency is calculated as the máximum latency value. Thresholds levels can be adjusted, just edit the plugin. It also adds some other metric to the performance part of the result, so they can be graphed with Nagios XI. Setup: 1.- Login to Nagios Server with nagios user. 2.- Generate a SSH key. 3.- Login to v7000, create a nagios user and attach the public SSH key to it. 4.- Copy the plugin to Nagios Server: /usr/local/nagios/libexec/check_ibm_v7000_perf.sh 5.- Test it: /usr/local/nagios/libexec/check_ibm_v7000_perf.sh -H 192.168.1.100 -K /home/nagios/.ssh/id_rsa 6.- Create a command in nagios: define command { command_name check_v7000_performance command_line $USER1$/check_ibm_v7000_perf.sh -H $HOSTADDRESS$ -K /home/nagios/.ssh/id_rsa } Any suggestions will be appreciated. - Contributors - Andrew Haji carlinhos700 npx
Reviews (2) Add a Review
Work great, afterother minor change
by carlinhos700, September 30, 2018

Add UNKNOWN state when the query fail elif [[ -z $CPU_PC ]] || [[ -z $COMPRESSION_CPU_PC ]] || [[ -z $WRITE_CACHE_PC ]] || [[ -z $TOTAL_CACHE_PC ]] || [[ -z $BIGGEST_LATENCY ]]; then FINAL_STATUS="UNKNOWN" RETURN_STATUS=$STATE_UNKNOWN



Works well after minor change
by npx, March 31, 2018

As stated in the dev guidelines (https://nagios-plugins.org/doc/guidelines.html#AEN200) I had to change the following line to include spaces between each performance data otherwise it would only graph the first entry (CPU). PERFORMANCE="cpu=$CPU_PC; comp_cpu=$COMPRESSION_CPU_PC; wcache=$WRITE_CACHE_PC; tcache=$TOTAL_CACHE_PC; latency=$BIGGEST_LATENCY" 146 PERFORMANCE="$PERFORMANCE; fc_mb=$FC_MB; fc_io=$FC_IO; sas_mb=$SAS_MB; sas_io=$SAS_IO; iscsi_mb=$ISCSI_MB; iscsi_io=$ISCSI_IO"



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
4.5 (4)
Favorites
1
Views
12,605