Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Crashes when Parsing IPMI Event Log #10

Open
luckylinux opened this issue Aug 24, 2024 · 1 comment
Open

Avoid Crashes when Parsing IPMI Event Log #10

luckylinux opened this issue Aug 24, 2024 · 1 comment

Comments

@luckylinux
Copy link
Owner

luckylinux commented Aug 24, 2024

In case there are Events Logged in the IPMI Event Log, there is a chance that, depending on the Event Type (e.g. "Intrusion Switch" or "Power ON" etc) the Script might Crash because the Field it's expecting doesn't Exist in the CSV Output of IPMItool.

Probably need to add some try and except Blocks.

@luckylinux
Copy link
Owner Author

luckylinux commented Aug 25, 2024

Implemented basic Fix by encapsulating the whole IPMI Event Log Reading in try / except Block as part of another Commit:
b83d98f#diff-980252882d558f680e002b92f54da0e99262342cbde0d7f1dc5af038148c4b0fR729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant