GetServices

The GetServices action returns the following information for each service:

  • Whether the service is registered.
  • The executable path, working directory, and configuration path of the service.
  • The port, service port, and index port of the service, when available.
  • The GSSAPI service name of the service, when GSSAPI authentication is enabled.
  • If the service is an ACI server, the product type of the service.
  • The name, type, and labels of the service, as specified with the AddService action.
  • The control method, Service Control Manager Windows service name, and Linux script name, as specified with the AddService action.
  • The current state of the service (running, stopped, starting, stopping, or unknown)

You can filter the list of services using the names, types, or labels that you set up with the AddService action.

Optional Parameters

This action accepts the following optional parameters.

Parameter Description
Labels

Any labels associated with the service.

Names The names of the services to return information for.
Types The types of service to return information for.

Comments

You can also send the GetServices action from Coordinator by specifying a comma-separated list of Controller UUIDs.

For example:

a=GetServices&controllerUUIDS=d267cf80-063a-8030-a2de-24be0523821c,4e572f80-460c-8030-a2de-005056bd31f6

This action returns the information listed above for the Controller servers with the specified UUIDs. For more information, refer to the Coordinator Reference.

See Also