Repository navigation
Feature/sel list human readable - #212
Merged
Merged
Conversation
A SEL entry only had its raw fields, so the sensor type, the event offset, the timestamp and the generator ID had to be looked up in the IPMI specification. Add the names of the sensor types and the descriptions of the generic and sensor-specific event offsets (IPMI v2.0 tables 42-2 and 42-3, PICMG 3.0 hot swap states), and SelEntry methods to convert the sensor type, event, direction, timestamp and generator ID to strings. A timestamp of an event before the SEL time was set is shown as time since the BMC initialization (IPMI v2.0 section 37.1). threshold_event_values() returns the trigger reading and threshold of a threshold event. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
'sel list' printed the raw fields of the entries. Print one line per entry with the date and time, the sensor type, the event description and the direction, and the trigger reading and threshold of threshold events. The data of OEM records is printed as hex bytes. With -s/--sdr the SDRs are read to print the sensor names and to convert the threshold event values. With -d/--details all fields of an entry are printed. The option is not named -v, the global -v already sets the log level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.