Skip to main content

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smbmc-0.1.0.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

smbmc-0.1.0-py3-none-any.whl (21.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page