TOP LEVEL CATEGORIES
EXPLORE
Description:
Plugin for monitoring IBM Storage performance. Tested it on DS4100 & DS4700 & DS3512 (You have to have a compatible SMcli version – Storage Manager 10.70.A5 is working for me). Please use LATEST version. You must install Storage manager client for the plugin to work. You need SMcli command (ussualy gets in /opt/IBM_DS/client/SMcli) You also need to give nagios user execute permission on SMcli (chmod 755 /opt/IBM_DS/client/SMcli)
Version 1.2 contains fix mentioned by dmitry.sherman (thank you for your feedback Dmitry) What comes after pipe (|) represents nagios performance data which you can graph for example with pnp4nagios(see sample image attached). Version 1.3 contains an enhancement from Martin Moebius that can allow you to specify both ip’s directly in the check comand, not in the definition.
Version 1.4 runs SMCli command on storage only if a certain interval has passed from the last check (-f in script). It seems like the storage management interface gets unresponsive if multiple checks are done at the same time.
Version 1.5 has more bug fixes applied: First of all it will return the real name of the queried component, not the one given as parameter (ex. controller A, I don’t know why I did such a stupid thing) Added the other 2 useful metrics as requested. Fixed SMCLI to have the SAME command for -t logical and controller. Case insensitive parameters for -t and -n.
Version 1.5.1 & 1.5.2 by withanHdammit 1. Took label out of output because I use that as my service name (see attached screenshots), I think it cleans up the output. 2. Changed output display to KBps instead of MBps (was getting a lot of 0’s and wanted a little more accurate info) 3. Added Read % and Cache Hit % to output 4. Abbreviated output labels for brevity, also took the ‘ (single quotes) out because it was too busy 5. Made similar abbreviation changes to PerfData
The forum’s reply button does not work, so I put here my answer for disturbed: Hello,
You have to specify both controller ip’s for the script to work. In the new version you have separate switches for that. The plugin uses the storage manager command to get the data, so if you have an error on SMcli, you will also have one in your script.(I guess SMCli does nothing and throws the error you mentioned if you specify only one controller ip). You should check the right SMCli command that works for you. /opt/IBM_DS/client/SMcli 10.253.6.60 -c “set session performanceMonitorInterval=5 performanceMonitorIterations=1; show allLogicalDrives performanceStats; Once you have the SMCli returning some results you can modify the plugin to fit your needs. If the second controller does not have an ip address please define it from the Storage Manager. (The storage manager can connect to the storage using IBOUND connection – that is on fibre, or OUTBOUND where you need the ip’s of the controllers). If you are able to connect on OUTBAND management from storage manager there should be no problem from SMCli command Hope that helps. -SMcli is not executable by other users so you MUST chmod 755 /opt/IBM_DS/client/SMcli
Current Version
1.5.2
Last Release Date
2013-07-15
Compatible With
Owner
Eduard Guloiu
License
GPL
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.