Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Endpoints to view and clear IPMI system events

Competition Assessment

None

Activity

Show:

Bug Clerk June 21, 2023 at 1:05 PM

Automation for Jira June 21, 2023 at 1:05 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Caleb June 21, 2023 at 12:50 PM

Oh please note that the ipmi.sel.elist is a job and it can take some time since IPMI bus is not known for speed. I would not show this by default, it needs to be an endpoint that is called when the user explicitly asks for it.

Caleb June 21, 2023 at 12:48 PM

I guess I had already thought about this but the endpoints for doing this are already there and have been even in bluefine. (At least 22.12.3).

To query the ipmi system event log (SEL) you can call ipmi.sel.elist. This is a job that returns an array of entries. Each entry looks like the following:

[ { "id": 46, "date": "May-02-2023", "time": "17:13:30", "name": "FAN4", "type": "Fan", "event_direction": "Deassertion Event", "event": "Lower Non-recoverable - going low ; Sensor Reading = 8600.00 RPM ; Threshold = 300.00 RPM" }, { "id": 47, "date": "May-02-2023", "time": "17:13:30", "name": "FAN4", "type": "Fan", "event_direction": "Deassertion Event", "event": "Lower Critical - going low ; Sensor Reading = 8600.00 RPM ; Threshold = 500.00 RPM" } ]


To clear ALL system events, you can run ipmi.sel.clear. It is also a job and returns null on success and raises a CallError if the command responsible for clearing log fails in an unforeseen way.

Bug Clerk June 21, 2023 at 12:46 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

More fields

Katalon Platform

Created June 20, 2023 at 12:02 PM
Updated February 27, 2025 at 9:31 PM
Resolved June 21, 2023 at 1:06 PM