mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-03 19:23:36 +00:00
ID:400 - Add support for VITA-specific sensor types and events.
Reworked event type code/sensor type parsing in order to support VITA-specific extensions. Added VITA-specific sensor-specific event types and VITA-specific sensor types.
This commit is contained in:
committed by
Zdenek Styblik
parent
e88e5c8186
commit
b44366e92d
@ -200,14 +200,14 @@ ipmi_sensor_print_fc_discrete(struct ipmi_intf *intf,
|
||||
printf(" Entity ID : %d.%d\n",
|
||||
sensor->entity.id, sensor->entity.instance);
|
||||
printf(" Sensor Type (Discrete): %s\n",
|
||||
ipmi_sdr_get_sensor_type_desc(sensor->sensor.
|
||||
ipmi_get_sensor_type(intf, sensor->sensor.
|
||||
type));
|
||||
if( sr->s_reading_valid )
|
||||
{
|
||||
if (sr->s_has_analog_value) {
|
||||
printf(" Sensor Reading : %s %s\n", sr->s_a_str, sr->s_a_units);
|
||||
}
|
||||
ipmi_sdr_print_discrete_state("States Asserted",
|
||||
ipmi_sdr_print_discrete_state(intf, "States Asserted",
|
||||
sensor->sensor.type,
|
||||
sensor->event_type,
|
||||
sr->s_data2,
|
||||
@ -315,7 +315,7 @@ ipmi_sensor_print_fc_threshold(struct ipmi_intf *intf,
|
||||
sensor->entity.id, sensor->entity.instance);
|
||||
|
||||
printf(" Sensor Type (Threshold) : %s\n",
|
||||
ipmi_sdr_get_sensor_type_desc(sensor->sensor.
|
||||
ipmi_get_sensor_type(intf, sensor->sensor.
|
||||
type));
|
||||
|
||||
printf(" Sensor Reading : ");
|
||||
|
Reference in New Issue
Block a user