Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hardware metrics #17

Merged
merged 15 commits into from
Oct 8, 2024
Merged

add hardware metrics #17

merged 15 commits into from
Oct 8, 2024

Conversation

mwennrich
Copy link
Contributor

Add hardware metrics

Depends on:

# HELP metal_machine_hardware_info Provide information about the machine
# TYPE metal_machine_hardware_info gauge
metal_machine_hardware_info{biosVersion="3.4",bmcVersion="1.73",boardMfg="Supermicro",boardMfgSerial="",boardPartNumber="X11DPT-B",chassisPartNumber="CSE-217BHQ+-R2K22BP2",chassisPartSerial="C217BAH24AE0006",machineid="11111111-2222-3333-4444-aabbccddeeff",partition="fra-equ01",productManufacturer="Supermicro",productPartNumber="SYS-2029BT-HNR",productSerial="E262335X9100766D"} 1

# HELP metal_machine_ipmi_info Provide the ipmi ip address
# TYPE metal_machine_ipmi_info gauge
metal_machine_ipmi_info{ipmiIP="10.1.1.36:623",machineid="11111111-2222-3333-4444-aabbccddeeff"} 1

# HELP metal_machine_ipmi_power_state Provide information about the machine power state
# TYPE metal_machine_ipmi_power_state gauge
metal_machine_ipmi_power_state{machineid="11111111-2222-3333-4444-aabbccddeeff"} 1

# HELP metal_machine_ipmi_power_supplies_healthy Provide information about the number of healthy power supplies
# TYPE metal_machine_ipmi_power_supplies_healthy gauge
metal_machine_ipmi_power_supplies_healthy{machineid="11111111-2222-3333-4444-aabbccddeeff"} 2

# HELP metal_machine_ipmi_power_supplies_total Provide information about the total number of power supplies
# TYPE metal_machine_ipmi_power_supplies_total gauge
metal_machine_ipmi_power_supplies_total{machineid="11111111-2222-3333-4444-aabbccddeeff"} 2

# HELP metal_machine_ipmi_power_usage Provide information about the machine power usage in watts
# TYPE metal_machine_ipmi_power_usage gauge
metal_machine_ipmi_power_usage{machineid="11111111-2222-3333-4444-aabbccddeeff"} 69

@mwennrich mwennrich changed the title Hardware-metrics add hardware metrics Oct 2, 2024
@mwennrich mwennrich marked this pull request as ready for review October 8, 2024 08:36
@mwennrich mwennrich requested a review from a team as a code owner October 8, 2024 08:36
@majst01 majst01 merged commit 61819e5 into main Oct 8, 2024
1 check passed
@majst01 majst01 deleted the hardware-metrics branch October 8, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants