IBM San Volume Controller

IBM Storwize V7000 check_ibm_v7000_svc

Description:

Checks several states of IBM V7000 SVC via perl module IBM::SVC (enclosures, drives, arrays, batteries, psu’s canisters, enclosureslots, vdisks and consistency group states). you may exclude some objects for vdisk and consistency group checks.

Current Version

1.1

Last Release Date

2013-01-09

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
check_ibm_v7000_svc Nagios check You need to configure a ssh key without passphrase for logins to your V7000 storage array. Also IBM's SVC.pm Perl Module is required and available here: https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=AW-0NK http://www.alphaworks.ibm.com/tech/svctools Usage: perl check_ibm_v7000_svc.pl -cluster=[IP or hostname] -check=[check] [ -exclude=[listofitems] ] see "check_ibm_v7000_svc.pl -h" for more info
Reviews (5) Add a Review
Updated version
by mk_2, April 30, 2021

Seems this plugin is quite old.. saw someone mentioned bityard.org and there's other newer plugins around too. Latest updated version which includes V7000 gen3 and iSCSI support can be found here: https://git.io/J3mJH



Working
by nishith, January 31, 2020

Follow this link to testify your nagios configuration. Mine is working aboslutely fine & able to monitor entire IBM Storage with mostly all kind of monitoring parameters. https://www.bityard.org/blog/2013/12/28/nagios_monitoring_ibm_svc_storwize



Everything works perfectly except for the exclusion of multiple hosts with lshost
by GHRMSA, April 30, 2018

Hello, I set up the supervision of 3 IBM V7000 (gen1 and gen2) for the Mulhouse hospital. Everything works perfectly except for the exclusion of multiple hosts. For example : bash-4.1$ ./check_ibm_storwize.pl -cluster=x.1.26.x -check=lshost -user=supervision CRITICAL: SRVS3 (offline) bash-4.1$ ./check_ibm_storwize.pl -cluster=x.1.26.x -check=lshost -user=supervision -exclude=SRVS3 OK: all host online bash-4.1$ ./check_ibm_storwize.pl -cluster=x.2.26.x -check=lshost -user=supervision CRITICAL: SRAPPLIDIS-H4 (offline) SRIMAGEVAULT (offline) SRAPPLIDIS-H3 (offline) SRAPPLIDIS-H5 (offline) SRVS3 (offline) SRAPPLIDIS-H1 (offline) SRSCCM-CAS (offline) SRSCCM-H1 (offline) SRDC5 (offline) bash-4.1$ ./check_ibm_storwize.pl -cluster=x.2.26.x -check=lshost exclude=SRAPPLIDIS-H4,SRIMAGEVAULT,SRAPPLIDIS-H3,SRAPPLIDIS-H5,SRVS3,SRAPPLIDIS-H1,SRSCCM-CAS,SRSCCM-H1,SRDC5 -user=supervision CRITICAL: SRAPPLIDIS-H4 (offline) SRIMAGEVAULT (offline) SRAPPLIDIS-H3 (offline) SRAPPLIDIS-H5 (offline) SRVS3 (offline) SRAPPLIDIS-H1 (offline) SRSCCM-CAS (offline) SRSCCM-H1 (offline) SRDC5 (offline) The separator is normally a comma. Despite everything I do not get the expected result. Our Storwize are in version 7.8.1.4. Who could help us ?



Great plugin!
by marchiom, September 30, 2016

This plugin works great for checking the health of an IBM v7000. The suggestions by daniel_cioruta are definitely needed to increase the accuracy of the lsdrive check. Once that change is made, the plugin reports back the correct status if there is a failed drive.



lsdrive issue
by daniel_cioruta, June 30, 2016

lsdrive check will never notify a degraded or offline disk. You should replace the commented lines with the next line following the commented line: my %lsdrive_states = ( #'' => 'OK', 'online' => 'OK', 'offline' => 'CRITICAL', 'degraded' => 'CRITICAL', ); } elsif ($check eq "lsdrive") { # * online: blank # * degraded: populated if associated with an error # * offline: must be populated $svc_command = "lsdrive"; $item = "mdisk member"; $item_name = "id"; #$item_state = "error_sequence_number"; $item_state = "status"; &itemcheck(%lsdrive_states)



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 (8)
Favorites
2
Views
61,648