Supermicro BMC interface
Project description
An unofficial Python interface for obtaining metrics from Supermicro BMCs.
The following metrics are accessible:
Sensor: Temperature, Fan, Voltage, etc.
PMBus: Power Consumption, Fan, Temperature, etc.
Note: This library depends on the BMC web-interface being available.
Usage
# smbmc_example.py from smbmc import Client # initialise client with connection details c = Client(IPMI_SERVER, IPMI_USER, IPMI_PASS) # retrieve session token c.login() # obtain sensor metrics sensors = c.get_sensor_metrics() # and pmbus metrics power_supplies = c.get_pmbus_metrics() # or, retrieve all known metrics metrics = c.get_metrics()
Contributing
This library has been tested on a system with the following components:
Chassis: SC846 (unknown revision; possibly 846BA-R920B)
Motherboard: CSE-PTJBOD-CB3
Power Supply: PWS-920P-SQ
Backplane: BPN-SAS2-846EL1
Power Distribution Board: PDB-PT846-2824
If there are any errors or additional functionality for other components, please file an issue with as much detail as you can!
Legal
This library is not associated with Super Micro Computer, Inc.
Supermicro have released some BMC/IPMI code under the GPL, which has been used as a reference. Therefore, this library is licensed as GPLv3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.