Intel ZT 7102 TV Video Accessories User Manual


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