![]() The following output is given by the plugin, Thanks for the extremely useful plugin! I've found a scenario in which the plugin reports a warning/error condition as unknown. RESULT=$(echo $RESULT |sed 's/Performing syntax check.//g' | sed 's/Syntax check complete.//g' | sed 's/Executing script.//g' | sed 's/Script execution complete.//g'| sed 's/SMcli completed successfully.//g' | sed 's/The controller clocks in the storage subsystem are out of synchronization with the storage management station.//g' | sed 's/ Controller in Slot ://g' | sed 's/Storage Management Station://g' | sed 's/\\s\\s\//g') +RESULT=$($COMMAND $CTRLA_IP $CTRLB_IP $PAR -c "show storageSubsystem healthStatus ") RESULT=$($COMMAND $CTRLA_IP $CTRLB_IP -c "show storageSubsystem healthStatus ") ![]() + echo " additional parameters are forwarded to SMcli"Įxit -78,10 +80,10 pass unknown commands to SMcli + echo "Usage check_IBM_health.sh -a X.X.X.X -b X.X.X.X " echo "Usage check_IBM_health.sh -a X.X.X.X -b X.X.X.X" ![]() # Define Nagios return -45,12 +45,14 "IBM DS4x00/5x00 Health Check"Įcho "the script requires IP of at least one DS4x00/5x00 Controller, second is optional" # diff -u /scripts/check_IBM_DS_health_1.5.sh-orig /scripts/check_IBM_DS_health_1.5.sh Thus, I just forward any additional parameters directly to SMcli. I didn't want to provide the password in the script, but rather as parameter on the command line. I recently got a DS3512 which (somehow) requires a monitor/administrator password. It also works on my DS3400 and DS3512 boxes. Also another wildcard entry in the nested "case"-statement was addedd to get at least a UNKNOWN response for any possible message. Version 1.5 changes result parsing to fix "Battery Canister Expiration" messagesnot getting reported correctly. Version 1.4 changes result parsing to fix "Unreadable sector" messages from DS3300/3400 not getting reported correctly. Version 1.3 removes Clock Sync Warnings from the output. Version 1.2 patches the SMcli output parsing. 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. Usage: check_IBM_health.sh -a X.X.X.X -b X.X.X.XĬommand_line $USER1$/check_IBM_DS_health.sh -a $HOSTADDRESS$ -b $ARG1$ Location can be controlled with the "COMMAND" variable.Ĭheck 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".Īt least one Controller IP must be specified. The plugin uses SMcli command usually based in "/opt/IBM_DS/client/SMcli". You need to install IBM DS Storage Manager. It is not very sophisticated but I wanted to share it anyway. Our team of recovery technicians has years of experience in data recovery and can restore data from all types of devices, including hard disk drives, solid-state drives, flash drives, and memory cards.Plugin to monitor IBM DS4x00 / DS5x00 system health. However, our engineers have years of experience restoring data from malware-affected media.Īt PITS Global Data Recovery Services, we use state-of-the-art technology to recover data from damaged or corrupted storage devices. CHKDSK may not be able to recover data lost due to virus infections, as viruses can corrupt the file system. However, we can help recover data from physically damaged storage devices.ĭata recovery services can also recover data lost due to virus infections. If there is physical damage to the media, such as a hard drive crash or a broken flash drive, CHKDSK will not be able to solve the issue. However, our recovery engineers can help recover lost data by using advanced recovery techniques.Īnother advantage of our recovery services is that they can restore files from physically damaged storage devices. While CHKDSK may be able to recover some of the lost data, it may not be able to recover all of it. When a file system is corrupted, it can lead to severe data loss situation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |