Skip to main content

GET /chassis/metrics

Use this method to return a set of sample metrics for all chassis. Each sample is represented in terms of when the sample was taken (timeStamp) and the value of the sample (metricValue).

Note
Depending on your environment and the number of managed hardware resources, it might take several minutes to retrieve the requested metric data.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/chassis/metrics

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
409ConflictThere is a conflict with the current state of the resource. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
chassisListArrayList of chassis
 See GET /chassis/metrics/{uuid}ObjectEnergy metrics for each chassis
The following example is returned if the request is successful.
{
"chassisList": [{
"energyMetrics": {
"averageSystemInputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 616
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 617
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 620
}],
"minimumSystemInputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 616
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 617
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 620
}],
"maximumSystemInputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 616
}...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 617
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 620
}],
"averageSystemOutputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 548
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 553
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 566
}],
"minimumSystemOutputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 548
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 553
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 566
}],
"maximumSystemOutputPower": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 548
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 553
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 566
}],
"avgInletAirTemperature": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 2550
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 2570
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 2570
}],
"minInletAirTemperature": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 2550
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 2550
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 2550
}],
"maxInletAirTemperature": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 2550
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 617
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 620
}],
"coolingSubsystemAirFlow": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 237
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 240
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 238
}],
"outletAirTemperature": [{
"timeStamp": "2015-02-06T18:35:00Z",
"metricValue": 3015
},
...{
"timeStamp": "2015-02-06T20:24:59Z",
"metricValue": 3033
},
{
"timeStamp": "2015-02-06T20:30:01Z",
"metricValue": 3013
}]
},
"name": "SN#Y011BG31R02F",
"uuid": "3D1D5931BDF84D30ADA976E21F08CB91",
"uri": "chassis/3D1D5931BDF84D30ADA976E21F08CB91"
}]
}