Before You Begin
The IPMItool supports the output of a States Asserted field for each presence sensor type record. This States Asserted field can appear in the IPMItool output as either:
States Asserted = Entity Presence
When the States Asserted = Entity Presence field appears, the sensor output for a hardware component can show one of three valid values: Present(=1), Absent(=2), Disabled(=4).
States Asserted = Availability State
When the States Asserted = Availability State field appears, the sensor output for a hardware component can show one of two valid values: Device Absent(=1) and Device Present(=2).
For additional information about how to interpret values presented for IPMI presence sensor types, refer to Section 42 - Sensor and Event Code Tables in the IPMI 2.0 Specifications. Understanding all of Section 42 is critical in understanding how to interpret a sensor value.
To view and interpret IPMItool present sensor type values, follow these steps:
For example, after issuing the sdr list command the following presence sensor type readings appear for PCIe hardware components.
PCIE_CC/PRSNT | 0x02 | ok PCIE0/F20/PRSNT | 0x01 | ok
One of the following States Asserted fields appear after issuing the sensor get command from the IPMItool:
States Asserted = Entity Presence
In the following example, the value shown for the States Asserted = Entity Presence field is Absent.
$ ipmitool sensor get PCIE_CC/PRSNT Locating sensor record... Sensor ID : PCIE_CC/PRSNT (0xad) Entity ID : 49.0 Sensor Type (Discrete): Entity Presence States Asserted : Entity Presence [Absent]
States Asserted = Availability State
In the following example, the value shown for the States Asserted = Availability State field is Device Absent.
$ ipmitool sensor get PCIE1/PRSNT Locating sensor record... Sensor ID : PCIE1/PRSNT (0xe6) Entity ID : 11.0 Sensor Type (Discrete): Entity Presence States Asserted : Availability State [Device Absent]