|
From: Brad W. <Br...@sy...> - 2016-03-01 00:29:55
|
Hi, The objective here is to save the SEL to a file before an event that clears it, then repopulate it from the saved file then continue logging events from that point on with appropriate date/time stamps. The problem (perceived) is that ipmitool sel add file resets previously recorded date/time stamps to the current date and time effectively debasing the integrity of the log. ipmitool version 1.8.15 Steps to reproduce: ipmitool sel list a | 02/29/2016 | 22:06:33 | Event Logging Disabled #0x8c | Log area reset/cleared | Asserted b | 02/29/2016 | 22:19:42 | Other Units-based Sensor #0xa0 | State Asserted | Asserted c | 02/29/2016 | 22:19:43 | System Boot Initiated #0x87 | System Restart | Asserted d | 02/29/2016 | 22:20:06 | System Event #0x8e | Timestamp Clock Sync | Asserted e | 02/29/2016 | 22:20:08 | System Event #0x8e | Timestamp Clock Sync | Asserted f | 02/29/2016 | 22:20:51 | System Event #0x8f | OEM System boot event | Asserted 10 | 02/29/2016 | 22:21:01 | System ACPI Power State #0x88 | S0/G0: working | Asserted ipmitool sel clear Clearing SEL. Please allow a few seconds to erase. ipmitool sel add sel_save 0 | Pre-Init |0000000000| Event Logging Disabled #0x8c | Log area reset/cleared | Asserted 0 | Pre-Init |0000000000| Other Units-based Sensor #0xa0 | State Asserted | Asserted 0 | Pre-Init |0000000000| System Boot Initiated #0x87 | System Restart | Asserted 0 | Pre-Init |0000000000| System Event #0x8e | Timestamp Clock Sync | Asserted 0 | Pre-Init |0000000000| System Event #0x8e | Timestamp Clock Sync | Asserted 0 | Pre-Init |0000000000| System Event #0x8f | OEM System boot event | Asserted 0 | Pre-Init |0000000000| System ACPI Power State #0x88 | S0/G0: working | Asserted ipmitool sel list 11 | 02/29/2016 | 22:22:37 | Event Logging Disabled #0x8c | Log area reset/cleared | Asserted 12 | 02/29/2016 | 22:22:48 | Event Logging Disabled #0x8c | Log area reset/cleared | Asserted 13 | 02/29/2016 | 22:22:48 | Other Units-based Sensor #0xa0 | State Asserted | Asserted 14 | 02/29/2016 | 22:22:48 | System Boot Initiated #0x87 | System Restart | Asserted 15 | 02/29/2016 | 22:22:48 | System Event #0x8e | Timestamp Clock Sync | Asserted 16 | 02/29/2016 | 22:22:48 | System Event #0x8e | Timestamp Clock Sync | Asserted 17 | 02/29/2016 | 22:22:48 | System Event #0x8f | OEM System boot event | Asserted 18 | 02/29/2016 | 22:22:48 | System ACPI Power State #0x88 | S0/G0: working | Asserted This smells like a bug to me but I wanted to check with the experts before I proceed. Thank you, Brad |