This is an active script performance monitor that will let you trend;
from your MD3000i. Warning: This is a little more involved than most performance monitors, and relies on additional software (from Dell), so don't just slap the script below in an hit run, it won't work. Really. *These are not setup by default, we will let WUG create that data from the polling values.
First, you will need to install the "Dell PowerVault Modular Disk Storage Manager" on your WahtsUp Gold server. This will be on a disk that came with the MD3000i, or you can download it from Dell support. We are looking specificly for the "Modular Disk Storage Manager Client". We will be using the CLI (Command Line Interface) aspects of that application to expose the data.
Second, the script below has multiple values it can monitor, but only one can be selected at a time. Just copy and comment out the active part, and then un-comment the values you want to trend.
Third, search the code for the followng an replace them with your values;
And create the following directory on your WUG server;
Fourth, build the monitor in WUG. Run it and see what happens. There is some basic error handling for old files, and no files, etc. so be sure to check the error report if something looks wonky, or you are getting no data.
-Enjoy!
Sources (for additional info):
Comments
I can't get this to function correctly in WUG - It's throwing a script errror every time it runs, line 17, Character 4, "File not found". It doesn't appear the script is actually creating the datafile. Since there's no practical way that I can find in WUG to debug this, I'm hoping you can help figure out why this isn't working correctly. It doesn't seem to matter which data sub I use.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
Do you have the MD3000i Storage Manager installed on your WhatsUp Server? Have you changed the default values (marked with **)? Can you manually fire the following (replaceing **SANNAME** with yours)?
C:\Program Files\Dell\MD Storage Manager\client\smcli -n **SANNAME** -c
Do you get any errors?
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
From the command line, it's able to communicate with the array and generate data correctly, just not from within the script.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
Do you have Windows Admin creds applied to the device?
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
If you're referring to the MD3000, I'm not aware of any way of integrating it to AD.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
In WUG. The Credentials for the device.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
Yes, it has admin creds set.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
The error it's showing in the error log is 'File not Found'---v(null)
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
Did you manually build all of the directories needed?
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
Are there any others beside the one mentioned? That's the only one I created.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this
The Script miss the IP or DNS-Name of the San
strCommand = "C:\Program Files\Dell\MD Storage Manager\client\smcli -n **SANNAME** -c ""set session performanceMonitorInterval=5 performanceMonitorIterations=10; save storageArray performanceStats file=\""c:\\MD3000i_PerfMons\\md3000i" & filename & ".csv\"";"""
This is my line:
strCommand = "D:\Programme\Dell\MD Storage Manager\client\smcli 192.168.1.15 -n MD3000i -c ""set session performanceMonitorInterval=5 performanceMonitorIterations=10; save storageArray performanceStats file=\""c:\\MD3000i_PerfMons\\md3000i" & filename & ".csv\"";"""
and it works.
Reply to this Comment
Be the first to rate this
|
Sign in to rate this