GET /metrics_service/subscriptions

Use this method to retrieve information about all metrics forwarders.

Note: This API requires Lenovo XClarity Administrator v2.8.0 or later.


Authentication with user name and password is required.

Request URL

GET https://<management_server_IP>/metrics_service/subscriptions

Query parameters


Request body


Response codes

Code Description
200 OK
500 Internal server error

Response body

Parameters Type Description
description String Description for the metrics forwarder
enable Boolean Indicates whether the metrics forwarder is enabled. This can be one of the following values.
  • true. (default) The metrics forwarder is enabled.
  • false. The metrics forwarder is disabled.
id String ID of the metrics forwarder
ipAddress String IPv4 or IPv6 address or hostname of the remote system that is the target to receive the metrics. For email, this is the SMTP server.
name String User-defined name for the metrics forwarder. This name must be unique for all metrics forwarders.
restPath String Resource path on which the forwarder is to post the metrics

The default path is /api/v1/inbound/metrics.

The following example is returned if the request is successful.

   "description": "Metrics subscription",
   "enable": "true",
   "id": "1520009679583",
   "ipAddress": "",
   "name": "Metrics_subscription",
   "restPath": "/api/v1/metrics"