admin scorpio - Convenience command

This command allows you to manage information about Scorpio.

Common Options

Options Description
--host value, -h value specify host or alias
--token value specify oauth token
--help show help (default: false)

List information paths

This command lists information paths.

ngsi admin [command options] scorpio list [options]

Options

Options Description
--help show help (default: false)

Example

Request:

ngsi admin --host broker scorpio list
available subresources:
/types
/localtypes
/stats
/health

This command prints types.

ngsi admin [command options] scorpio types [options]

Options

Options Description
--help show help (default: false)

Example

Request:

ngsi admin --host broker scorpio types

This command prints local types.

ngsi admin [command options] scorpio localtypes [options]

Options

Options Description
--help show help (default: false)

Example

Request:

ngsi admin --host broker scorpio localtypes

This command prints stats.

ngsi admin [command options] scorpio stats [options]

Options

Options Description
--help show help (default: false)

Example

Request:

ngsi admin --host broker scorpio stats
{
  "number of local available types": 0,
  "number of local available entities": 0
}

This command prints health.

ngsi admin [command options] scorpio health [options]

Options

Options Description
--help show help (default: false)

Example

Request:

ngsi admin --host scorpio@n5000 scorpio health
{
  "Status of Registrymanager": "Up and running",
  "Status of Entitymanager": "Up and running",
  "Status of Subscriptionmanager": "Not running",
  "Status of Storagemanager": "Up and running",
  "Status of Querymanager": "Up and running",
  "Status of Historymanager": "Up and running"
}