X hits on this document

PDF document

February 10, 2006 - page 139 / 238

643 views

0 shares

0 downloads

0 comments

139 / 238

8.6. USING SENSORS IN OPENIPMI

127

PLATFORM ALERT

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

ENTITY PRESENCE

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

BATTERY

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 ) ;

8.6.1

General Information About Sensors in OpenIPMI

The following section applies to all sensor types.

Document info
Document views643
Page views643
Page last viewedThu Dec 08 18:46:00 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments