TOP LEVEL CATEGORIES
EXPLORE
Description:
Plugin to monitor IBM DS4x00 / DS5x00 system health. It is not very sophisticated but I wanted to share it anyway. You need to install IBM DS Storage Manager. The plugin uses SMcli command usually based in “/opt/IBM_DS/client/SMcli”. Location can be controlled with the “COMMAND” variable.
Check that the Nagios User has sufficient rights on “/opt/IBM_DS/client/SMcli” and “/var/opt/SM”, otherwise the check could fail or produce messages like “attempt to update the configuration file was unsuccessful”.
At least one Controller IP must be specified.
Usage: check_IBM_health.sh -a X.X.X.X -b X.X.X.X -a IP of Controller A -b IP of Controller B
define command { command_name Check_IBM_DS_Health command_line $USER1$/check_IBM_DS_health.sh -a $HOSTADDRESS$ -b $ARG1$ }
Tested with DS4300, DS4700, DS4800, DS5020 , DS5100 and Storage Manager 10.70, 10.77 and 10.83.
################## Version 1.1 adds more intelligent filtering of unnecessary SMcli output and differentiation between Critical status for Hardware failures and Warning status for Preferred Path errors.
Version 1.2 patches the SMcli output parsing. Thanks to user “cseres” for the input!
Version 1.3 removes Clock Sync Warnings from the output.
Version 1.4 changes result parsing to fix “Unreadable sector” messages from DS3300/3400 not getting reported correctly. Thanks to user “Deep911” for the input!
Version 1.5 changes result parsing to fix “Battery Canister Expiration” messagesnot getting reported correctly. Also another wildcard entry in the nested “case”-statement was addedd to get at least a UNKNOWN response for any possible message. Thanks to user “dedri” for the input!
Current Version
1.5
Last Release Date
2013-01-08
Compatible With
Owner
Martin Moebius
License
GPL
check_IBM_DS_health v1.4
check_IBM_DS_health v1.5
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.