HPE Controller uses Lua scripts to monitor the services it controls. You can use the RunScript
action to run a Lua script to test system changes on an on-demand basis.
The RunScript
action returns the same information as the GetStatusOverview action.
a=RunScript&ScriptName=/scripts/luaScripts/checkstatus.lua&Port=9000
Parameter | Description | Required |
---|---|---|
Labels |
The labels of the services on which to run the script. |
|
Port |
The port on which to run the script. |
|
ScriptName |
The name of the script to run. |
Yes |
Type | The type of script to run. | |
Types | The service types on which to run the script. |
You can also send the RunScript
action from HPE Coordinator by specifying a comma-separated list of HPE Controller UUIDs on which to run the script (if unspecified, it runs it on all HPE Controller servers).
For example:
a=RunScript&ScriptName=/scripts/luaScripts/checkstatus.lua&controllerUUUIDS=d267cf80-063a-8030-a2de-24be0523821c,4e572f80-460c-8030-a2de-005056bd31f6
This action returns information for the HPE Controller servers with the specified UUIDs. For more information, refer to the HPE Coordinator Reference.
|