Intel® NetStructureTMZT 7102 Chassis Management Module
RPC
Table 50. RPC Usage Examples (Sheet 1 of 3)
Example | ChassisManagementApi() [in] | ChassisManagementApi() [out] parameters | |
parameters | |||
|
| ||
|
|
| |
| pszCMMHost: localhost |
| |
Get the | uCmdCode: CMD_GET | uReturnType: DATA_TYPE_STRING | |
chassis | pszLocation: Chassis | ppvbuffer: A | |
temperature. | pszTarget: TempSensorName | Value [Units] | |
| pszDataItem: current |
| |
|
|
| |
| pszCMMHost: localhost | uReturnType: DATA_TYPE_INT | |
| uCmdCode: CMD_GET | ||
Get the fan | ppvbuffer: Integer value indicating presence | ||
pszLocation: fantray1..3 | |||
tray presence. | 1 = Present | ||
pszTarget: NA | |||
| 0 = Not Present | ||
| pszDataItem: presence | ||
|
| ||
|
|
| |
| pszCMMHost: localhost |
| |
Get the CPU | uCmdCode: CMD_GET | uReturnType: DATA_TYPE_STRING | |
temperature | pszLocation: blade5 | ppvbuffer: A | |
of blade 5. | pszTarget: CPUTempSensorName | Value [Units] | |
| pszDataItem: current |
| |
|
|
| |
| pszCMMHost: localhost | uReturnType: DATA_TYPE_INT | |
| ppvbuffer: | ||
Determine if a | uCmdCode: CMD_GET | ||
1 = Present | |||
certain blade | |||
pszLocation: | The call to ChassisManagementApi() returns | ||
is present. | |||
| pszDataItem: presence | E_BLADE_NOT_PRESENT if the selected blade | |
|
| is not present. | |
|
|
| |
Get all | pszCMMHost: localhost |
| |
uCmdCode: CMD_GET | uReturnType: DATA_TYPE_ALL_THRESHOLDS | ||
thresholds for | |||
the +3.3 V | pszLocation: blade2 | ppvbuffer: A THRESHOLDS_ALL structure as | |
sensor on | pszTarget: 3.3vSensorName | defined in cli_client.h | |
blade 2. | pszDataItem: ThresholdsAll |
| |
|
| ||
|
|
| |
|
| uReturnType: DATA_TYPE_INT | |
Get the | pszCMMHost: localhost | ppvbuffer: Integer value denoting health state | |
uCmdCode: CMD_GET | 0 = OK | ||
overall | |||
system | pszLocation: system | 1 = Minor | |
health. | pszDataItem: health | 2 = Major | |
| |||
|
| 3 = Critical | |
|
|
| |
| pszCMMHost: localhost |
| |
Get a list of | uCmdCode: CMD_GET | uReturnType: DATA_TYPE_STRING | |
blades with | |||
pszLocation: system | ppvbuffer: List of all blades with problems | ||
problems. | |||
|
| ||
| pszDataItem: unhealthylocations |
| |
|
|
| |
| pszCMMHost: localhost | uReturnType: DATA_TYPE_INT | |
| ppvbuffer: Integer value denoting health state | ||
Get the temp1 | uCmdCode: CMD_GET | ||
0 = OK | |||
sensor’s | pszLocation: blade5 | ||
health on | 1 = Minor | ||
pszTarget: Temp1SensorName | |||
blade 5. | 2 = Major | ||
| pszDataItem: health | ||
| 3 = Critical | ||
|
| ||
|
|
|
116 | Technical Product Specification |