Hey Frank, I went ahead and added it to this branch on github.
https://github.com/chu11/freeipmi-mirror/tree/interpret_drive_slot_transition_severity ./autogen.sh ./configure ipmi-sensors/ipmi-sensors -h ... if you could give it a shot, I'd appreciate it. Thanks, Al On Thu, 2019-02-07 at 10:13 -0800, Al Chu wrote: > Hi Frank, > > The IPMI_OEM_Value fields are specifically for OEM sensors in the > sense > that they are non-standard. The drive slot sensor is standard, but > the > combo of "drive slot" and "transition severity" event type isn't > supported. > > I can add the support and give you a github branch to test out? > > Al > > On Thu, 2019-02-07 at 16:42 +0000, FRANK Michael wrote: > > Hello, > > > > I am having a couple of sensors on a Lenovo 650 server where the > > state is not interpreted by freeipmi. > > > > I use the following command: > > > > ipmi-sensors -h 1.2.3.4 -u yyy -p xxx --entity-sensor-names -l USER > > -D LAN_2_0 -r 124 --output-sensor-state > > > > ID | Name | Type | State | Reading | > > Units | Event > > 124 | Group Drive Mismatch | Drive Slot | N/A | N/A | > > N/A | 'transition to OK' > > > > I tried to address the State N/A with the following settings in > > freeipmi_interpret_sensor.conf: > > > > IPMI_OEM_Value 19046:1087 0x07 0x0D 0x0000 Nominal > > > > I tried different values for the event bitmask and also > > IPMI_OEM_Bitmask without success. The Sensor state couldn’t be > > interpreted by the tool. > > > > Can anyone may please help me what I have to add to the > > freeipmi_interpret_sensor.conf to get the sensor state interpreted. > > Any help to solve this issue is much appreciated. > > > > Here are some details. Please let me know in case more info is > > needed. > > > > Sensor details: > > > > Record ID: 124 > > Record Type: Compact Sensor Record (2h) > > ID String: Drive Mismatch > > Sensor Type: Drive Slot (Dh) > > Sensor Number: 124 > > IPMB Slave Address: 10h > > Sensor Owner ID: 20h > > Sensor Owner LUN: 0h > > Channel Number: 0h > > Entity ID: Group (37) > > Entity Instance: 4 > > Entity Instance Type: Logical Container Entity > > Event/Reading Type Code: 7h > > Sensor Direction: Unspecified > > Assertion Event Enabled: 'transition to Critical from less severe' > > Deassertion Event Enabled: 'transition to Critical from less > > severe' > > Share Count: 0 > > ID String Instance Modifier Type: Numeric > > ID String Instance Modifier Offset: 0 > > Entity Instance Sharing: Same for all records > > Sensor State: N/A > > Sensor Event: 'transition to OK' > > > > Board details: > > > > Device ID : 32 > > Device Revision : 0 > > Device SDRs : unsupported > > Firmware Revision : 2.10 > > Device Available : yes (normal operation) > > IPMI Version : 2.0 > > Sensor Device : supported > > SDR Repository Device : supported > > SEL Device : supported > > FRU Inventory Device : supported > > IPMB Event Receiver : supported > > IPMB Event Generator : supported > > Bridge : unsupported > > Chassis Device : supported > > Manufacturer ID : Lenovo Group (19046) > > Product ID : 1087 > > > > Device GUID : 1f635e0a-d37e-5bbd-11e8-a54a47832434 > > > > System GUID : 1f635e0a-d37e-5bbd-11e8-a54a47832434 > > > > > > > > Michael FRANK > > Supervisor Global Monitoring Architecture > > Faurecia Clean Mobility > > T +49 821 4103 420 ● M +49 171 9967 206 > > [email protected] > > Faurecia Emissions Control Technologies, Germany GmbH - > > Biberbachstraße 9 – 86154 Augsburg – Germany > > > > Sitz der Gesellschaft: Augsburg - Registergericht Augsburg HR B > > 20757 > > Geschäftsführer: Mathias Miedrich, Françoise Crenn, Thomas Hanak > > Vorsitzender des Aufsichtsrats: Christophe Schmitt > > > > > > > > > > This electronic transmission (and any attachments thereto) is > > intended solely for the use of the addressee(s). It may contain > > confidential or legally privileged information. If you are not the > > intended recipient of this message, you must delete it immediately > > and notify the sender. Any unauthorized use or disclosure of this > > message is strictly prohibited. Faurecia does not guarantee the > > integrity of this transmission and shall therefore never be liable > > if > > the message is altered or falsified nor for any virus, interception > > or damage to your system. > > _______________________________________________ > > Freeipmi-users mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/freeipmi-users > > > _______________________________________________ > Freeipmi-users mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/freeipmi-users _______________________________________________ Freeipmi-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-users
