GET /chassis/metrics/{uuid}
Use this method to return a set of sample metrics for specific chassis. Each sample is represented in terms of when the sample was taken (timeStamp) and the value of the sample (metricValue).
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/chassis/metrics/{uuid}
where {uuid} is the UUID of the chassis. To obtain the chassis UUID, use the GET /chassis method.
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A 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. |
403 | Forbidden | The 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. |
409 | Conflict | There is a conflict with the current state of the resource. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Each energy metric contains one or more arrays that include when the sample was taken (timeStamp) and the value of the sample (metricValue).
Attributes | Type | Description | ||
---|---|---|---|---|
energyMetrics | Object | Energy metrics for the chassis | ||
averageSystemInputPower | Array of objects | Average system input power samples | ||
minimumSystemInputPower | Array of objects | Minimum system input power samples | ||
maximumSystemInputPower | Array of objects | Maximum system input power samples | ||
averageSystemOutputPower | Array of objects | Average system output power samples | ||
minimumSystemOutputPower | Array of objects | Minimum system output power samples | ||
maximumSystemOutputPower | Array of objects | Maximum system output power samples | ||
avgInletAirTemperature | Array of objects | Average inlet air temperature samples | ||
minInletAirTemperature | Array of objects | Minimum inlet air temperature samples | ||
maxInletAirTemperature | Array of objects | Maximum inlet air temperature samples | ||
coolingSubsystemAirFlow | Array of objects | Cooling subsystem air flow samples | ||
outletAirTemperature | Array of objects | Outlet air temperature samples | ||
name | String | Chassis name | ||
uuid | String | Chassis UUID | ||
uri | String | Chassis URI |
The following example is returned if the request is successful.
{
"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"
}
Give documentation feedback