Get the fan control board info

1. API Description

This API is used to get the information of fan control board.

Request mode: POST [ip]/api/chassis/get-fan

Administrator Rights Logged-in
No Yes

2. Input Parameters

None

3. Output Parameters

Name Type Description
status Int Status code
code String Status description
device-name String The device name
fan-num Int The number of fans on the fan control board
sensor-num Int The number of temperature sensors on the fan control board
state Int The status of the fan control board
0: Not powered on
1: Communication failure
2: Communication success
3: Firmware upgrade in progress
fan Array of FanData The fan list
sensor Array of SensorData The sensor list
FanData
Name Type Description
id Int The fan ID
speed Int The fan speed, in rpm
status Int Status code
SensorData
Name Type Description
id Int The sensor ID
temperature Double Temperature read by the temperature sensor, in degrees Celsius
status Int Status code

4. Example

Getting the information of the fan control board.

Input Example
None
Output Example
{
    "device-name": "Modator 2U FAN CONTROL",
    "fan-num": 5,
    "sensor-num": 3,
    "state": 2,
    "fan": [
        {
            "id": 1,
            "speed": 2250,
            "status": 0
        },
        {
            "id": 2,
            "speed": 0,
            "status": 6
        },
        {
            "id": 3,
            "speed": 0,
            "status": 6
        },
        {
            "id": 4,
            "speed": 2430,
            "status": 0
        },
        {
            "id": 5,
            "speed": 2100,
            "status": 0
        }
    ],
    "sensor": [
        {
            "id": 1,
            "temperature": 28.125,
            "status": 0
        },
        {
            "id": 2,
            "temperature": 27.0,
            "status": 0
        },
        {
            "id": 3,
            "temperature": 27.25,
            "status": 0
        }
    ],
    "status": 0,
    "code": "Success"
}

{
    "device-name": "Modator 2U FAN CONTROL",
    "fan-num": 5,
    "sensor-num": 3,
    "state": 0,
    "status": 0,
    "code": "Success"
}

5. Error Code

No error code related to the API business logic. For other error codes, see Common Error Codes.

Status Definition Description
4 MW_STATUS_TRY_AGAIN Array of FanData, try to start the fan again

results matching ""

    No results matching ""

    results matching ""

      No results matching ""