Random Project

Great

Very useful plugin!
Tested successfully on DS4300 monitoring from Debian Etch with Storage Manager 10.83.

Install SMcli on Debian:
1) explode SM10.83_Linux_32bit_x86_single-10.83.x5.23.tgz on filesystem
2) move to Linux_32bit_x86_10p83_singleLinux folder
3) extract files with “rpm2cpio SMclient-LINUX-10.83.G5.22-1.noarch.rpm | cpio -vid”
4) copy optIBM_DSclient where you want on filesystem
5) edit BASEDIR and JAVA_EXEC variables inside SMcli script (use JRE6 from Sun)

If you want to run this plugin as nagios user remember to give execute permission on SMcli and the script itself (chmod 755) and run it as root editing /etc/sudoers
for example:
Cmnd_Alias SMCLI = /opt/IBM_DS/client/SMcli
Cmnd_Alias IBMDS = /usr/lib/nagios/plugins/check_IBM_DS_health_1.3.sh
nagios ALL=NOPASSWD: SMCLI
nagios ALL=NOPASSWD: IBMDS

Thanks moep!