Open topic with navigation

# RunScript

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

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
ScriptName | The name of the script to run.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Labels | The labels of the services on which to run the script.
Port | The port on which to run the script.
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 Coordinator by specifying a comma-separated list of Controller UUIDs on which to run the script (if unspecified, it runs it on all 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 Controller servers with the specified UUIDs. For more information, refer to the Coordinator Reference.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm