Open topic with navigation

# RunScript

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.

## Example

    a=RunScript&ScriptName=/scripts/luaScripts/checkstatus.lua&Port=9000

## Parameters

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. |

## Comments

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.

© 2015-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm