2016-07-28 05:00 AM
I try to understand the limits of scripts in OCUM but until now I have no clear answer.
As far as I understand the help page of OCUM 6.3 and according to opinion of different people a script that is attached to a alert is only limited by your skills and what you can derive from the event arguments listed below, correct?
Quoting the OCUM Help-Page:
The script uses the following arguments for execution: -eventID -eventSourceID -eventSourceName -eventSourceType -eventState -eventArgs
2016-07-28 08:24 AM
We can use the arguments passed by alert script as a base and can get much more information by using the 'UM CLI' commands in the script.
For example, get the volume Id and basic capacity information from event arguemtns and run 'um query run' command to get more information from DB. If the required info. is not available
in DB, you can use another um cli, which connects to the cluster and run a command to get the required info.
I feel using the UM Cli commands in the script makes the script powerful.