Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

IBM Storwize v7000 Performance

Rating
4 votes
Favoured:
1
Current Version
1.3
Last Release Date
2019-01-25
Compatible With
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
12584
Files:
FileDescription
check_ibm_v7000_perf.shcheck_ibm_v7000_perf.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Plugin to check storage's performance. It doesn't need any extra libraries.
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)
bycarlinhos700, September 25, 2018
1 of 1 people found this review helpful
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
bynpx, March 7, 2018
2 of 2 people found this review helpful
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"