A Rust IPMI library.
Configure the log level of this example with RUST_LOG
. info
is recommended.
This example usually has to be run as root.
This example will, using the /dev/ipmi0
file:
- Get SEL info
- (If supported) get SEL allocation information
- (If present) get the first SEL record
- Get the Device ID
- Get SDR info
- Get SDR repository info
- (If supported) get SDR allocation information
- Load all of the SDRs from the repository
- Attempt to read the value of all of the sensors from the SDR repository
- SEL info
- SDR repository info
- Get SDR repository entries
- Read sensor data from sensors obtained from SDR repository
-
ioctl
-based IPMI device file interface support - RMCP
- Allow running of example with any of the supported IPMI interfaces
- Other IPMI interfaces
- More?
All source code (including code snippets) is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
This project aims to conform to Conventional Commits. If you make contributions, please be so kind to stick to that format :)