Skip to main content

Prometheus exporter for smbmc metrics.

Usage

Variables can be passed to the command-line interface via flags or environment variables.

  • --hostname/SMBMC_HOSTNAME: Hostname of the SMBMC web-interface.

  • --username/SMBMC_USERNAME: Username for the SMBMC web-interface.

  • --password/SMBMC_PASSWORD: Password for the SMBMC web-interface.

  • --listen-port/LISTEN_PORT: Port for daemon to listen on.

  • --listen-addr/LISTEN_ADDR: Address for daemon to listen on.

Example Metrics

# HELP smbmc_collector_collect_seconds Time spent to collect metrics from SMBMC
# TYPE smbmc_collector_collect_seconds summary
smbmc_collector_collect_seconds_count 3.0
smbmc_collector_collect_seconds_sum 1.0082290172576904
# HELP smbmc_collector_collect_seconds_created Time spent to collect metrics from SMBMC
# TYPE smbmc_collector_collect_seconds_created gauge
smbmc_collector_collect_seconds_created 1.6049614358040833e+09
# HELP smbmc_sensor_temperature_celsius Sensor Temperature
# TYPE smbmc_sensor_temperature_celsius gauge
smbmc_sensor_temperature_celsius{id="0",name="System Temp"} 27.0
smbmc_sensor_temperature_celsius{id="19",name="SAS2 FTemp1"} 29.0
# HELP smbmc_sensor_threshold_temperature_celsius Sensor Threshold - Temperature
# TYPE smbmc_sensor_threshold_temperature_celsius gauge
smbmc_sensor_threshold_temperature_celsius{id="0",type="LNR"} -9.0
smbmc_sensor_threshold_temperature_celsius{id="0",type="LC"} -7.0
smbmc_sensor_threshold_temperature_celsius{id="0",type="LNC"} -5.0
smbmc_sensor_threshold_temperature_celsius{id="0",type="UNC"} 80.0
smbmc_sensor_threshold_temperature_celsius{id="0",type="UC"} 85.0
smbmc_sensor_threshold_temperature_celsius{id="0",type="UNR"} 90.0
# HELP smbmc_sensor_voltage_volts Sensor Voltage
# TYPE smbmc_sensor_voltage_volts gauge
smbmc_sensor_voltage_volts{id="1",name="12VCC"} 12.192
smbmc_sensor_voltage_volts{id="2",name="5VCC"} 5.027
smbmc_sensor_voltage_volts{id="3",name="3.3VCC"} 3.333
smbmc_sensor_voltage_volts{id="4",name="5VSBY"} 4.974
smbmc_sensor_voltage_volts{id="5",name="3.3VSBY"} 3.248
smbmc_sensor_voltage_volts{id="6",name="1.2VSB"} 1.251
smbmc_sensor_voltage_volts{id="7",name="1.5VSB"} 1.56
smbmc_sensor_voltage_volts{id="8",name="VBAT"} 3.112
smbmc_sensor_voltage_volts{id="23",name="SAS2 F5V"} 5.0
smbmc_sensor_voltage_volts{id="24",name="SAS2 F12V"} 12.0
# HELP smbmc_sensor_threshold_voltage_volts Sensor Threshold - Voltage
# TYPE smbmc_sensor_threshold_voltage_volts gauge
smbmc_sensor_threshold_voltage_volts{id="1",type="LNR"} 10.144
smbmc_sensor_threshold_voltage_volts{id="1",type="LC"} 10.272
smbmc_sensor_threshold_voltage_volts{id="1",type="LNC"} 10.784
smbmc_sensor_threshold_voltage_volts{id="1",type="UNC"} 12.96
smbmc_sensor_threshold_voltage_volts{id="1",type="UC"} 13.28
smbmc_sensor_threshold_voltage_volts{id="1",type="UNR"} 13.408
# HELP smbmc_sensor_fan_speed_rpm Fan Speed
# TYPE smbmc_sensor_fan_speed_rpm gauge
smbmc_sensor_fan_speed_rpm{id="9",name="FAN1"} 3500.0
# HELP smbmc_sensor_threshold_fan_speed_rpm Fan Speed - Threshold
# TYPE smbmc_sensor_threshold_fan_speed_rpm gauge
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="LNR"} 400.0
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="LC"} 600.0
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="LNC"} 800.0
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="UNC"} 25300.0
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="UC"} 25400.0
smbmc_sensor_threshold_fan_speed_rpm{id="9",type="UNR"} 25500.0
# HELP smbmc_sensor_status Sensor Status
# TYPE smbmc_sensor_status gauge
smbmc_sensor_status{id="0",name="System Temp"} 1.0
smbmc_sensor_status{id="1",name="12VCC"} 1.0
smbmc_sensor_status{id="9",name="FAN1"} 1.0
smbmc_sensor_status{id="10",name="FAN2"} 0.0
smbmc_sensor_status{id="19",name="SAS2 FTemp1"} 1.0
smbmc_sensor_status{id="23",name="SAS2 F5V"} 1.0
smbmc_sensor_status{id="24",name="SAS2 F12V"} 1.0
smbmc_sensor_status{id="27",name="PS2 Status"} 1.0
# HELP smbmc_pmbus_status Power Supply status
# TYPE smbmc_pmbus_status gauge
smbmc_pmbus_status{id="0"} 0.0
smbmc_pmbus_status{id="1"} 1.0
# HELP smbmc_pmbus_voltage_volts Power Supply Voltage
# TYPE smbmc_pmbus_voltage_volts gauge
smbmc_pmbus_voltage_volts{id="1",type="Input (AC)"} 242.0
smbmc_pmbus_voltage_volts{id="1",type="Output (DC)"} 12.1
# HELP smbmc_pmbus_current_amperes Power Supply Current
# TYPE smbmc_pmbus_current_amperes gauge
smbmc_pmbus_current_amperes{id="1",type="Input"} 0.359
smbmc_pmbus_current_amperes{id="1",type="Output"} 5.75
# HELP smbmc_pmbus_power_watts Power Supply Consumption
# TYPE smbmc_pmbus_power_watts gauge
smbmc_pmbus_power_watts{id="1",type="Input"} 86.0
smbmc_pmbus_power_watts{id="1",type="Output"} 69.0
# HELP smbmc_pmbus_temperature_celsius Power Supply Temperature
# TYPE smbmc_pmbus_temperature_celsius gauge
smbmc_pmbus_temperature_celsius{id="1",type="Input"} 37.0
smbmc_pmbus_temperature_celsius{id="1",type="Output"} 51.0
# HELP smbmc_pmbus_fan_speed_rpm Power Supply Fan Speed
# TYPE smbmc_pmbus_fan_speed_rpm gauge
smbmc_pmbus_fan_speed_rpm{id="1",type="Input"} 2858.0
smbmc_pmbus_fan_speed_rpm{id="1",type="Output"} 3847.0

Download files

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

Source Distribution

smbmc_exporter-0.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smbmc_exporter-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file smbmc_exporter-0.2.0.tar.gz.

File metadata

  • Download URL: smbmc_exporter-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for smbmc_exporter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5135bc6c8b1737a0691db24ec253945b31eaf6b0c8e4aae21bef61bd609c65a8
MD5 a61474fdb882233fc6101a08fade95ac
BLAKE2b-256 1a0882c9aaba840bdf0390849f87e5e57cc71c2f75e60b2ca2bb090b27a2a7d3

See more details on using hashes here.

File details

Details for the file smbmc_exporter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: smbmc_exporter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for smbmc_exporter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e46539b117c695c5826960c311f5457351ef9b9bd6d36bd3f77eb0ab2384af2
MD5 603f189010c1829a9731d60dbd724ed1
BLAKE2b-256 35a013033ac5a5c36131f18762b01e98cbfd9b45d09406e0a4bfc7cc93da6530

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page