• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. Extension ECS APIs
  5. Status Management
  6. Adding an ECS to the Monitoring List

Adding an ECS to the Monitoring List

Function Description

This interface is used to add an ECS to the monitoring list.

Ceilometer periodically collects monitoring data on the ECSs added to the monitoring list and reports the data to Cloud Eye. The data includes the platform version, CPU, memory, NICs, disks, and hardware version. For example, the plug-in of an SAP ECS periodically obtains monitoring data from Cloud Eye and reports the data to SAP in reports.

URI

POST /v1.0/servers/{server_id}/action

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

server_id

Yes

Specifies the ECS ID.

Request

Request parameters

Table 2 describes the request parameters.
Table 2 Request parameters

Parameter

Mandatory

Type

Description

monitorMetrics

Yes

Null

Adds an ECS to the monitoring list.

Response

N/A

Examples

  • Example request
    {  
       "monitorMetrics" : null 
    }

Returned Values

See General Request Returned Values.

Error Code

See Error Code Description.