From 9f35965b1b877887bd2fb0e34a7de4c6e34793a4 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Fri, 10 Jul 2026 15:47:37 +0200 Subject: [PATCH] Decode reserved SEL record types as standard events Some BMCs (e.g. AMI) log events using spec-reserved record types like 0x04 with a standard system event record layout. Previously only type 0x02 was decoded, leaving such entries with no usable data and tripping the generic OEM handler. Follow ipmitool and treat all types below 0xc0 as standard format. If the body of a reserved type turns out not to follow the standard layout, fall back to passing it through raw instead of aborting the whole log retrieval. --- confluent_server/aiohmi/ipmi/events.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/confluent_server/aiohmi/ipmi/events.py b/confluent_server/aiohmi/ipmi/events.py index c2c4b1ca..2314128c 100644 --- a/confluent_server/aiohmi/ipmi/events.py +++ b/confluent_server/aiohmi/ipmi/events.py @@ -519,12 +519,25 @@ class EventHandler(object): selentry = bytearray(origselentry) event = {} event['record_id'] = struct.unpack_from('= 7: # Either standard, or at least the timestamp is standard event['timecode'] = struct.unpack_from('