/mgmt/status/default/CurrentSensors GET
Use the HTTP GET method with the /mgmt/status/default/CurrentSensors
resource to request status information about the power supplied to the appliance, derived from
sensors that read electrical currents, from the power supplies and other components of the
appliance.
Resource URL
https://host:port/mgmt/status/default/CurrentSensors
Where
port is 5554 by default.Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
None.
Security requirements
The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.
Response status codes
- 200
- Status information retrieved successfully.
- 400
- Invalid data provided.
- 401
- Not authenticated.
- 403
- Not authorized.
Response headers
- Content-Type
- This header is returned with a value of
application/json
.
Response body format
The response is in JSON format. The response includes the status for the various voltages
supplied to the appliance that is reported by the current sensors. Each object contains the
following fields:
- Name
- String.
- Value
- Integer.
- UpperCriticalThreshold
- Integer.
- ReadingStatus
- String.
Examples
The following example requests the power supply status of the appliance.
The following URL is used with the HTTP GET
method:
https://localhost:5554/mgmt/status/default/CurrentSensors
The following listing shows the received
response:
"self": {
"href": "/mgmt/status/default/CurrentSensors"
},
"doc": {
"href": "/mgmt/docs/status/CurrentSensors"
}
},
"CurrentSensors": [
{
"Name": "Current PU +12V 1",
"Value": 8400,
"UpperCriticalThreshold": 44800,
"ReadingStatus": "ok"
},
{
"Name": "Current PU +3.3V",
"Value": 2000,
"UpperCriticalThreshold": 16000,
"ReadingStatus": "ok"
},
{
"Name": "Current PU +5V",
"Value": 2400,
"UpperCriticalThreshold": 16000,
"ReadingStatus": "ok"
}
]
}