mrlhansen / idrac_exporter

Simple Redfish (iDRAC, iLO, XClarity) exporter for Prometheus
MIT License
132 stars 40 forks source link

The dell server cannot obtain related metrics such as idrac_drive, idrac_memory and idrac_sel. #42

Closed ilanni2460 closed 10 months ago

ilanni2460 commented 10 months ago

The dell server cannot obtain related metrics such as idrac_drive, idrac_memory and idrac_sel.

iradrac无数据

ilanni2460 commented 10 months ago

This is the relevant metrics captured through Prometheus:

`

HELP idrac_exporter_build_info Constant metric with build information for the exporter

TYPE idrac_exporter_build_info untyped

idrac_exporter_build_info{goversion="go1.21.3",revision="1d415e0a284d2e99b1a4e8b6adce0f779a81b7f4",version="1.0.0"} 1

HELP idrac_exporter_scrape_errors_total Total number of errors encountered while scraping target

TYPE idrac_exporter_scrape_errors_total gauge

idrac_exporter_scrape_errors_total 0

HELP idrac_power_control_avg_consumed_watts Average consumption of power control system during the reported interval

TYPE idrac_power_control_avg_consumed_watts gauge

idrac_power_control_avg_consumed_watts{id="0",name="System Power Control"} 612

HELP idrac_power_control_capacity_watts Capacity of power control system in watts

TYPE idrac_power_control_capacity_watts gauge

idrac_power_control_capacity_watts{id="0",name="System Power Control"} 2240

HELP idrac_power_control_consumed_watts Consumption of power control system in watts

TYPE idrac_power_control_consumed_watts gauge

idrac_power_control_consumed_watts{id="0",name="System Power Control"} 567

HELP idrac_power_control_interval_in_minutes Interval for measurements of power control system

TYPE idrac_power_control_interval_in_minutes gauge

idrac_power_control_interval_in_minutes{id="0",name="System Power Control"} 1

HELP idrac_power_control_max_consumed_watts Maximum consumption of power control system during the reported interval

TYPE idrac_power_control_max_consumed_watts gauge

idrac_power_control_max_consumed_watts{id="0",name="System Power Control"} 1002

HELP idrac_power_control_min_consumed_watts Minimum consumption of power control system during the reported interval

TYPE idrac_power_control_min_consumed_watts gauge

idrac_power_control_min_consumed_watts{id="0",name="System Power Control"} 544

HELP idrac_power_supply_capacity_watts Power supply capacity in watts

TYPE idrac_power_supply_capacity_watts gauge

idrac_power_supply_capacity_watts{id="0"} 1600 idrac_power_supply_capacity_watts{id="1"} 1600

HELP idrac_power_supply_efficiency_percent Power supply efficiency in percentage

TYPE idrac_power_supply_efficiency_percent gauge

idrac_power_supply_efficiency_percent{id="0"} 91.0000026226044 idrac_power_supply_efficiency_percent{id="1"} 91.0000026226044

HELP idrac_power_supply_input_voltage Power supply input voltage

TYPE idrac_power_supply_input_voltage gauge

idrac_power_supply_input_voltage{id="0"} 220 idrac_power_supply_input_voltage{id="1"} 220

HELP idrac_power_supply_input_watts Power supply input in watts

TYPE idrac_power_supply_input_watts gauge

idrac_power_supply_input_watts{id="0"} 550 idrac_power_supply_input_watts{id="1"} 5

HELP idrac_power_supply_output_watts Power supply output in watts

TYPE idrac_power_supply_output_watts gauge

idrac_power_supply_output_watts{id="0"} 516 idrac_power_supply_output_watts{id="1"} 0

HELP idrac_sensors_fan_speed Sensors reporting fan speed measurements

TYPE idrac_sensors_fan_speed gauge

idrac_sensors_fan_speed{id="0",name="System Board Fan1",units="rpm"} 7320 idrac_sensors_fan_speed{id="1",name="System Board Fan2",units="rpm"} 7320 idrac_sensors_fan_speed{id="2",name="System Board Fan3",units="rpm"} 7320 idrac_sensors_fan_speed{id="3",name="System Board Fan4",units="rpm"} 7320 idrac_sensors_fan_speed{id="4",name="System Board Fan5",units="rpm"} 7200 idrac_sensors_fan_speed{id="5",name="System Board Fan6",units="rpm"} 7200 idrac_sensors_fan_speed{id="6",name="System Board Fan7",units="rpm"} 7320 idrac_sensors_fan_speed{id="7",name="System Board Fan8",units="rpm"} 7200

HELP idrac_sensors_temperature Sensors reporting temperature measurements

TYPE idrac_sensors_temperature gauge

idrac_sensors_temperature{id="0",name="CPU1 Temp",units="celsius"} 58 idrac_sensors_temperature{id="1",name="CPU2 Temp",units="celsius"} 50 idrac_sensors_temperature{id="2",name="System Board Inlet Temp",units="celsius"} 23 idrac_sensors_temperature{id="3",name="CPU3 Temp",units="celsius"} 58 idrac_sensors_temperature{id="4",name="CPU4 Temp",units="celsius"} 49 idrac_sensors_temperature{id="5",name="System Board Exhaust Temp",units="celsius"} 33

HELP idrac_system_bios_info Information about the BIOS

TYPE idrac_system_bios_info untyped

idrac_system_bios_info{version="2.11.2"} 1

HELP idrac_system_cpu_count Total number of CPUs in the system

TYPE idrac_system_cpu_count gauge

idrac_system_cpu_count{model="Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz"} 4

HELP idrac_system_health Health status of the system

TYPE idrac_system_health gauge

idrac_system_health{status="OK"} 0

HELP idrac_system_indicator_led_on Indicator LED state of the system

TYPE idrac_system_indicator_led_on gauge

idrac_system_indicator_led_on{state="Lit"} 1

HELP idrac_system_machine_info Information about the machine

TYPE idrac_system_machine_info untyped

idrac_system_machine_info{manufacturer="Dell Inc.",model="PowerEdge R940",serial="XXXXXXX",sku="XXXXX"} 1

HELP idrac_system_memory_size_bytes Total memory size of the system in bytes

TYPE idrac_system_memory_size_bytes gauge

idrac_system_memory_size_bytes 5.49755813888e+11

HELP idrac_system_power_on Power state of the system

TYPE idrac_system_power_on gauge

idrac_system_power_on 1 `

ilanni2460 commented 10 months ago

It's because my configuration file didn't enable these monitoring items.

address: 0.0.0.0 port: 9348 timeout: 10 retries: 1 hosts: default: username: XXXX password: XXXX metrics: system: true sensors: true power: true sel: true storage: true memory: true