8.6. USING SENSORS IN OPENIPMI
Used for monitoring the platform management firmware, status can be fetched and events generated on platform management actions. 00h - Page sent 01h - LAN alert sent 02h - Event trap sent per IPMI PET specification 03h - Event trap sent using OEM format
This is the sensor used to tell if an entity is present or not. This applied to the entity the sensor is attached to. 00h - Entity is present 01h - Entity is absent 02h - Entity is present but disabled
MONITOR ASIC IC LAN
00h - LAN heartbeat lost 01h - LAN heartbeat present
MANAGEMENT SUBSYSTEM HEALTH
00h - Sensor access degraded or unavailable 01h - Controller access degraded or unavailable 02h - Management controller offline 03h - Management controller unavailable
00h - Battery is low 01h - Battery failed 02h - Battery is present.
Strings are available from the sensor that describe the sensor type and event reading type. Note that these may be set to valid values by OEM code even if the values are OEM, so these can be very useful.
char *ipmi_sensor_get_sensor_type_string(ipmi_sensor_t *sensor); char *ipmi_sensor_get_event_reading_type_string(ipmi_sensor_t *sensor);
As well as the strings, the specific reading information from the above table is also available, supply the sensor type and offset and a string is returned. The function is:
c h a r * i p m i _ s e n s o r _ r e a d i n g _ n a m e _ s t r i n g ( i p m i _ s e n s o r _ t * s e n s o r , i n t o f f s e t ) ;
General Information About Sensors in OpenIPMI
The following section applies to all sensor types.