prometheus-community/ipmi_exporter

No metrics "ipmi_current_state" and "ipmi_current_amperes"

2018-11-27 opened this issue · 4 comments

My configuration file:

[root@zhuyk4 ipmi_exporter]# cat config_test.yaml
modules:
  default:
    user: "USERID"
    pass: "Len0vo@123"

    driver: "LAN_2_0"
    privilege: "user"

    timeout: 10000

    collectors:
      - bmc
      - ipmi
      - chassis
      - dcmi
      - sel
      - sm-lan-mode

    exclude_sensor_ids:
      - 2
      - 29
      - 32
      - 50
      - 52
      - 55

Run:

[root@zhuyk4 ipmi_exporter]# ./ipmi_exporter --config.file=config_test.yaml
ts=2022-12-28T03:17:50.952Z caller=main.go:103 level=info msg="Starting ipmi_exporter" version="(version=, branch=, revision=)"
ts=2022-12-28T03:17:50.952Z caller=config.go:243 level=info msg="Loaded config file" path=config_test.yaml
ts=2022-12-28T03:17:50.953Z caller=tls_config.go:232 level=info msg="Listening on" address=[::]:9290
ts=2022-12-28T03:17:50.953Z caller=tls_config.go:235 level=info msg="TLS is disabled." http2=false address=[::]:9290

Call (http://10.121.118.101:9290/ipmi?target=10.121.114.4) result:

# HELP ipmi_bmc_info Constant metric with value '1' providing details about the BMC.
# TYPE ipmi_bmc_info gauge
ipmi_bmc_info{firmware_revision="8.40",manufacturer_id="Lenovo Group (19046)",system_firmware_version=""} 1
# HELP ipmi_chassis_power_state Current power state (1=on, 0=off).
# TYPE ipmi_chassis_power_state gauge
ipmi_chassis_power_state 1
# HELP ipmi_dcmi_power_consumption_watts Current power consumption in Watts.
# TYPE ipmi_dcmi_power_consumption_watts gauge
ipmi_dcmi_power_consumption_watts 399
# HELP ipmi_fan_speed_rpm Fan speed in rotations per minute.
# TYPE ipmi_fan_speed_rpm gauge
ipmi_fan_speed_rpm{id="283",name="Fan 1 Tach"} 6804
ipmi_fan_speed_rpm{id="284",name="Fan 2 Tach"} 6804
ipmi_fan_speed_rpm{id="285",name="Fan 3 Tach"} 6804
ipmi_fan_speed_rpm{id="286",name="Fan 4 Tach"} 6615
ipmi_fan_speed_rpm{id="287",name="Fan 5 Tach"} 6804
ipmi_fan_speed_rpm{id="288",name="Fan 6 Tach"} 6426
# HELP ipmi_fan_speed_state Reported state of a fan speed sensor (0=nominal, 1=warning, 2=critical).
# TYPE ipmi_fan_speed_state gauge
ipmi_fan_speed_state{id="283",name="Fan 1 Tach"} 0
ipmi_fan_speed_state{id="284",name="Fan 2 Tach"} 0
ipmi_fan_speed_state{id="285",name="Fan 3 Tach"} 0
ipmi_fan_speed_state{id="286",name="Fan 4 Tach"} 0
ipmi_fan_speed_state{id="287",name="Fan 5 Tach"} 0
ipmi_fan_speed_state{id="288",name="Fan 6 Tach"} 0
# HELP ipmi_power_state Reported state of a power sensor (0=nominal, 1=warning, 2=critical).
# TYPE ipmi_power_state gauge
ipmi_power_state{id="103",name="Sys Power"} 0
ipmi_power_state{id="104",name="CPU Power"} 0
ipmi_power_state{id="105",name="Mem Power"} 0
ipmi_power_state{id="18",name="PSU1 AC In Pwr"} 0
ipmi_power_state{id="19",name="PSU1 DC Out Pwr"} 0
ipmi_power_state{id="24",name="PSU2 AC In Pwr"} 0
ipmi_power_state{id="25",name="PSU2 DC Out Pwr"} 0
ipmi_power_state{id="291",name="Sys Fan Pwr"} 0
# HELP ipmi_power_watts Power reading in Watts.
# TYPE ipmi_power_watts gauge
ipmi_power_watts{id="103",name="Sys Power"} 415
ipmi_power_watts{id="104",name="CPU Power"} 116
ipmi_power_watts{id="105",name="Mem Power"} 44
ipmi_power_watts{id="18",name="PSU1 AC In Pwr"} 200
ipmi_power_watts{id="19",name="PSU1 DC Out Pwr"} 185
ipmi_power_watts{id="24",name="PSU2 AC In Pwr"} 215
ipmi_power_watts{id="25",name="PSU2 DC Out Pwr"} 200
ipmi_power_watts{id="291",name="Sys Fan Pwr"} 10
# HELP ipmi_scrape_duration_seconds Returns how long the scrape took to complete in seconds.
# TYPE ipmi_scrape_duration_seconds gauge
ipmi_scrape_duration_seconds 1.318975483
# HELP ipmi_sel_free_space_bytes Current free space remaining for new SEL entries.
# TYPE ipmi_sel_free_space_bytes gauge
ipmi_sel_free_space_bytes 0
# HELP ipmi_sel_logs_count Current number of log entries in the SEL.
# TYPE ipmi_sel_logs_count gauge
ipmi_sel_logs_count 511
# HELP ipmi_sensor_state Indicates the severity of the state reported by an IPMI sensor (0=nominal, 1=warning, 2=critical).
# TYPE ipmi_sensor_state gauge
ipmi_sensor_state{id="100",name="Mem Utilization",type="Other Units Based Sensor"} 0
ipmi_sensor_state{id="101",name="IO Utilization",type="Other Units Based Sensor"} 0
ipmi_sensor_state{id="102",name="ME Status",type="Management Subsystem Health"} NaN
ipmi_sensor_state{id="106",name="CPU 1 PECI",type="Critical Interrupt"} 0
ipmi_sensor_state{id="107",name="CPU 2 PECI",type="Critical Interrupt"} 0
ipmi_sensor_state{id="108",name="CPU 1 QPILinkErr",type="Cable/Interconnect"} 0
ipmi_sensor_state{id="109",name="CPU 2 QPILinkErr",type="Cable/Interconnect"} 0
ipmi_sensor_state{id="11",name="PSU Mismatch",type="Power Supply"} 0
ipmi_sensor_state{id="110",name="CPU1 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="112",name="CPU1 DTS",type="Temperature"} 0
ipmi_sensor_state{id="113",name="CPU2 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="115",name="CPU2 DTS",type="Temperature"} 0
ipmi_sensor_state{id="116",name="RAID Card 1 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="117",name="RAID Card 2 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="118",name="RAID Card 3 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="119",name="RAID Card 4 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="12",name="PS Heavy Load",type="Power Unit"} NaN
ipmi_sensor_state{id="120",name="RAID Card 5 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="121",name="RAID Card 6 Ctrl",type="Add In Card"} NaN
ipmi_sensor_state{id="122",name="Lom link state",type="LAN"} NaN
ipmi_sensor_state{id="123",name="DIMMs Disabled",type="Memory"} 0
ipmi_sensor_state{id="13",name="Power Resource",type="Power Unit"} 0
ipmi_sensor_state{id="14",name="Power Supply 1",type="Power Supply"} 0
ipmi_sensor_state{id="15",name="PSU1 Failure",type="Power Supply"} 0
ipmi_sensor_state{id="158",name="Drive 0",type="Drive Slot"} 0
ipmi_sensor_state{id="159",name="Drive 1",type="Drive Slot"} 0
ipmi_sensor_state{id="16",name="PSU1 PF Failure",type="Power Supply"} 0
ipmi_sensor_state{id="160",name="Drive 2",type="Drive Slot"} 0
ipmi_sensor_state{id="161",name="Drive 3",type="Drive Slot"} 0
ipmi_sensor_state{id="162",name="Drive 4",type="Drive Slot"} 0
ipmi_sensor_state{id="163",name="Drive 5",type="Drive Slot"} 0
ipmi_sensor_state{id="164",name="Drive 6",type="Drive Slot"} 0
ipmi_sensor_state{id="165",name="Drive 7",type="Drive Slot"} 0
ipmi_sensor_state{id="166",name="Drive 8",type="Drive Slot"} 0
ipmi_sensor_state{id="167",name="Drive 9",type="Drive Slot"} 0
ipmi_sensor_state{id="168",name="Drive 10",type="Drive Slot"} 0
ipmi_sensor_state{id="169",name="Drive 11",type="Drive Slot"} 0
ipmi_sensor_state{id="17",name="PSU1 IN Failure",type="Power Supply"} 0
ipmi_sensor_state{id="171",name="Drive 12",type="Drive Slot"} 0
ipmi_sensor_state{id="172",name="Drive 13",type="Drive Slot"} 0
ipmi_sensor_state{id="179",name="Drive 14",type="Drive Slot"} 0
ipmi_sensor_state{id="180",name="Drive 15",type="Drive Slot"} 0
ipmi_sensor_state{id="189",name="Drive 16",type="Drive Slot"} 0
ipmi_sensor_state{id="190",name="Drive 17",type="Drive Slot"} 0
ipmi_sensor_state{id="191",name="Drive 18",type="Drive Slot"} 0
ipmi_sensor_state{id="192",name="Drive 19",type="Drive Slot"} 0
ipmi_sensor_state{id="193",name="Drive 20",type="Drive Slot"} 0
ipmi_sensor_state{id="194",name="Drive 21",type="Drive Slot"} 0
ipmi_sensor_state{id="195",name="Drive 22",type="Drive Slot"} 0
ipmi_sensor_state{id="196",name="Drive 23",type="Drive Slot"} 0
ipmi_sensor_state{id="197",name="Drive Mismatch",type="Drive Slot"} NaN
ipmi_sensor_state{id="198",name="DIMM 1",type="Memory"} 0
ipmi_sensor_state{id="20",name="Power Supply 2",type="Power Supply"} 0
ipmi_sensor_state{id="201",name="DIMM 2",type="Memory"} 0
ipmi_sensor_state{id="204",name="DIMM 3",type="Memory"} 0
ipmi_sensor_state{id="207",name="DIMM 4",type="Memory"} 0
ipmi_sensor_state{id="21",name="PSU2 Failure",type="Power Supply"} 0
ipmi_sensor_state{id="210",name="DIMM 5",type="Memory"} 0
ipmi_sensor_state{id="213",name="DIMM 6",type="Memory"} 0
ipmi_sensor_state{id="216",name="DIMM 7",type="Memory"} 0
ipmi_sensor_state{id="219",name="DIMM 8",type="Memory"} 0
ipmi_sensor_state{id="22",name="PSU2 PF Failure",type="Power Supply"} 0
ipmi_sensor_state{id="222",name="DIMM 9",type="Memory"} 0
ipmi_sensor_state{id="225",name="DIMM 10",type="Memory"} 0
ipmi_sensor_state{id="228",name="DIMM 11",type="Memory"} 0
ipmi_sensor_state{id="23",name="PSU2 IN Failure",type="Power Supply"} 0
ipmi_sensor_state{id="233",name="DIMM 12",type="Memory"} 0
ipmi_sensor_state{id="237",name="DIMM 13",type="Memory"} 0
ipmi_sensor_state{id="240",name="DIMM 14",type="Memory"} 0
ipmi_sensor_state{id="243",name="DIMM 15",type="Memory"} 0
ipmi_sensor_state{id="246",name="DIMM 16",type="Memory"} 0
ipmi_sensor_state{id="249",name="DIMM 17",type="Memory"} 0
ipmi_sensor_state{id="252",name="DIMM 18",type="Memory"} 0
ipmi_sensor_state{id="255",name="DIMM 19",type="Memory"} 0
ipmi_sensor_state{id="258",name="DIMM 20",type="Memory"} 0
ipmi_sensor_state{id="26",name="IPMI Watchdog",type="Watchdog 2"} 0
ipmi_sensor_state{id="261",name="DIMM 21",type="Memory"} 0
ipmi_sensor_state{id="264",name="DIMM 22",type="Memory"} 0
ipmi_sensor_state{id="267",name="DIMM 23",type="Memory"} 0
ipmi_sensor_state{id="27",name="SEL Fullness",type="Event Logging Disabled"} 2
ipmi_sensor_state{id="270",name="DIMM 24",type="Memory"} 0
ipmi_sensor_state{id="273",name="PCH OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="276",name="PCI 1 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="277",name="PCI 2 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="278",name="PCI 3 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="279",name="PCI 4 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="28",name="Host Power",type="Power Unit"} 0
ipmi_sensor_state{id="280",name="PCI 5 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="281",name="PCI 6 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="282",name="PCI 7 OverTemp",type="Temperature"} 0
ipmi_sensor_state{id="289",name="System Air Flow",type="Cooling Device"} 0
ipmi_sensor_state{id="3",name="All CPUs",type="Processor"} 0
ipmi_sensor_state{id="30",name="DIMMs",type="Critical Interrupt"} 0
ipmi_sensor_state{id="31",name="One of DIMMs",type="Memory"} 0
ipmi_sensor_state{id="33",name="Lane Failover",type="Memory"} 0
ipmi_sensor_state{id="34",name="Memory Resized",type="POST Memory Resize"} 0
ipmi_sensor_state{id="35",name="Non-Auth DIMMs",type="Memory"} 0
ipmi_sensor_state{id="36",name="SMI Lane Failed",type="Memory"} 0
ipmi_sensor_state{id="37",name="Aux Log",type="System Event"} 0
ipmi_sensor_state{id="38",name="Firmware Error",type="System Firmware Progress"} 0
ipmi_sensor_state{id="39",name="GPT Status",type="System Firmware Progress"} 0
ipmi_sensor_state{id="4",name="One of CPUs",type="Processor"} 0
ipmi_sensor_state{id="40",name="No Boot Device",type="Boot Error"} 0
ipmi_sensor_state{id="41",name="No Op ROM Space",type="Slot/Connector"} 0
ipmi_sensor_state{id="43",name="Sec Rollback Err",type="System Firmware Progress"} 0
ipmi_sensor_state{id="44",name="Secure Boot Err",type="System Firmware Progress"} 0
ipmi_sensor_state{id="45",name="Sys Boot Status",type="System Firmware Progress"} 0
ipmi_sensor_state{id="46",name="TPM_TCM Init Err",type="System Firmware Progress"} 0
ipmi_sensor_state{id="47",name="TPM_TCM Lock",type="Button/Switch"} 0
ipmi_sensor_state{id="48",name="Phy Presence Set",type="Button/Switch"} 0
ipmi_sensor_state{id="49",name="TXT ACM Module",type="System Firmware Progress"} 0
ipmi_sensor_state{id="5",name="CPU 1 Status",type="Processor"} 0
ipmi_sensor_state{id="51",name="SMM Monitor",type="System Event"} 0
ipmi_sensor_state{id="53",name="XCC Switchover",type="Version Change"} 0
ipmi_sensor_state{id="54",name="Low Security Jmp",type="Management Subsystem Health"} NaN
ipmi_sensor_state{id="56",name="XCC DB Status",type="Management Subsystem Health"} NaN
ipmi_sensor_state{id="57",name="NMI State",type="Critical Interrupt"} 0
ipmi_sensor_state{id="58",name="PCI 1 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="59",name="PCI 2 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="6",name="CPU 2 Status",type="Processor"} 0
ipmi_sensor_state{id="60",name="PCI 3 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="61",name="PCI 4 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="62",name="PCI 5 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="63",name="PCI 6 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="64",name="PCI 7 Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="65",name="PCIs",type="Critical Interrupt"} 0
ipmi_sensor_state{id="66",name="All PCI Error",type="Slot/Connector"} 0
ipmi_sensor_state{id="67",name="One of PCIs",type="Slot/Connector"} 0
ipmi_sensor_state{id="68",name="No I/O Resources",type="System Firmware Progress"} 0
ipmi_sensor_state{id="69",name="Front Panel",type="Entity Presence"} 0
ipmi_sensor_state{id="70",name="COMport Card",type="Cable/Interconnect"} 0
ipmi_sensor_state{id="71",name="BP 1 Status",type="Entity Presence"} 0
ipmi_sensor_state{id="72",name="BP 2 Status",type="Entity Presence"} 0
ipmi_sensor_state{id="73",name="BP 3 Status",type="Entity Presence"} 0
ipmi_sensor_state{id="74",name="Rear BP Status",type="Entity Presence"} 0
ipmi_sensor_state{id="75",name="RAID Vol State",type="Drive Slot"} NaN
ipmi_sensor_state{id="76",name="Ext Drive",type="Drive Slot"} 0
ipmi_sensor_state{id="77",name="Ext Enclosure PS",type="Power Supply"} 0
ipmi_sensor_state{id="78",name="RAID Log",type="System Event"} NaN
ipmi_sensor_state{id="79",name="Front Video",type="Cable/Interconnect"} 0
ipmi_sensor_state{id="80",name="PHY Card Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="81",name="M2 Card Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="82",name="M2 Drive 0",type="Drive Slot"} 0
ipmi_sensor_state{id="83",name="M2 Drive 1",type="Drive Slot"} 0
ipmi_sensor_state{id="84",name="PCI Riser 1",type="Entity Presence"} 0
ipmi_sensor_state{id="85",name="PCI Riser 2",type="Entity Presence"} 0
ipmi_sensor_state{id="86",name="ML2 Card Fault",type="Slot/Connector"} 0
ipmi_sensor_state{id="87",name="Pwr Rail ABC Err",type="Voltage"} 0
ipmi_sensor_state{id="88",name="Pwr Rail DEF Err",type="Voltage"} 0
ipmi_sensor_state{id="89",name="Pwr Rail GHJ Err",type="Voltage"} 0
ipmi_sensor_state{id="90",name="Pwr Rail KLM Err",type="Voltage"} 0
ipmi_sensor_state{id="91",name="CPU1 VR",type="Voltage"} 0
ipmi_sensor_state{id="92",name="CPU2 VR",type="Voltage"} 0
ipmi_sensor_state{id="93",name="SysBrd Vol Fault",type="Voltage"} 0
ipmi_sensor_state{id="98",name="Sys Utilization",type="Other Units Based Sensor"} 0
ipmi_sensor_state{id="99",name="CPU Utilization",type="Other Units Based Sensor"} 0
# HELP ipmi_sensor_value Generic data read from an IPMI sensor of unknown type, relying on labels for context.
# TYPE ipmi_sensor_value gauge
ipmi_sensor_value{id="100",name="Mem Utilization",type="Other Units Based Sensor"} 4
ipmi_sensor_value{id="101",name="IO Utilization",type="Other Units Based Sensor"} 0
ipmi_sensor_value{id="102",name="ME Status",type="Management Subsystem Health"} NaN
ipmi_sensor_value{id="106",name="CPU 1 PECI",type="Critical Interrupt"} NaN
ipmi_sensor_value{id="107",name="CPU 2 PECI",type="Critical Interrupt"} NaN
ipmi_sensor_value{id="108",name="CPU 1 QPILinkErr",type="Cable/Interconnect"} NaN
ipmi_sensor_value{id="109",name="CPU 2 QPILinkErr",type="Cable/Interconnect"} NaN
ipmi_sensor_value{id="11",name="PSU Mismatch",type="Power Supply"} NaN
ipmi_sensor_value{id="110",name="CPU1 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="112",name="CPU1 DTS",type="Temperature"} -51
ipmi_sensor_value{id="113",name="CPU2 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="115",name="CPU2 DTS",type="Temperature"} -51
ipmi_sensor_value{id="116",name="RAID Card 1 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="117",name="RAID Card 2 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="118",name="RAID Card 3 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="119",name="RAID Card 4 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="12",name="PS Heavy Load",type="Power Unit"} NaN
ipmi_sensor_value{id="120",name="RAID Card 5 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="121",name="RAID Card 6 Ctrl",type="Add In Card"} NaN
ipmi_sensor_value{id="122",name="Lom link state",type="LAN"} NaN
ipmi_sensor_value{id="123",name="DIMMs Disabled",type="Memory"} NaN
ipmi_sensor_value{id="13",name="Power Resource",type="Power Unit"} NaN
ipmi_sensor_value{id="14",name="Power Supply 1",type="Power Supply"} NaN
ipmi_sensor_value{id="15",name="PSU1 Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="158",name="Drive 0",type="Drive Slot"} NaN
ipmi_sensor_value{id="159",name="Drive 1",type="Drive Slot"} NaN
ipmi_sensor_value{id="16",name="PSU1 PF Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="160",name="Drive 2",type="Drive Slot"} NaN
ipmi_sensor_value{id="161",name="Drive 3",type="Drive Slot"} NaN
ipmi_sensor_value{id="162",name="Drive 4",type="Drive Slot"} NaN
ipmi_sensor_value{id="163",name="Drive 5",type="Drive Slot"} NaN
ipmi_sensor_value{id="164",name="Drive 6",type="Drive Slot"} NaN
ipmi_sensor_value{id="165",name="Drive 7",type="Drive Slot"} NaN
ipmi_sensor_value{id="166",name="Drive 8",type="Drive Slot"} NaN
ipmi_sensor_value{id="167",name="Drive 9",type="Drive Slot"} NaN
ipmi_sensor_value{id="168",name="Drive 10",type="Drive Slot"} NaN
ipmi_sensor_value{id="169",name="Drive 11",type="Drive Slot"} NaN
ipmi_sensor_value{id="17",name="PSU1 IN Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="171",name="Drive 12",type="Drive Slot"} NaN
ipmi_sensor_value{id="172",name="Drive 13",type="Drive Slot"} NaN
ipmi_sensor_value{id="179",name="Drive 14",type="Drive Slot"} NaN
ipmi_sensor_value{id="180",name="Drive 15",type="Drive Slot"} NaN
ipmi_sensor_value{id="189",name="Drive 16",type="Drive Slot"} NaN
ipmi_sensor_value{id="190",name="Drive 17",type="Drive Slot"} NaN
ipmi_sensor_value{id="191",name="Drive 18",type="Drive Slot"} NaN
ipmi_sensor_value{id="192",name="Drive 19",type="Drive Slot"} NaN
ipmi_sensor_value{id="193",name="Drive 20",type="Drive Slot"} NaN
ipmi_sensor_value{id="194",name="Drive 21",type="Drive Slot"} NaN
ipmi_sensor_value{id="195",name="Drive 22",type="Drive Slot"} NaN
ipmi_sensor_value{id="196",name="Drive 23",type="Drive Slot"} NaN
ipmi_sensor_value{id="197",name="Drive Mismatch",type="Drive Slot"} NaN
ipmi_sensor_value{id="198",name="DIMM 1",type="Memory"} NaN
ipmi_sensor_value{id="20",name="Power Supply 2",type="Power Supply"} NaN
ipmi_sensor_value{id="201",name="DIMM 2",type="Memory"} NaN
ipmi_sensor_value{id="204",name="DIMM 3",type="Memory"} NaN
ipmi_sensor_value{id="207",name="DIMM 4",type="Memory"} NaN
ipmi_sensor_value{id="21",name="PSU2 Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="210",name="DIMM 5",type="Memory"} NaN
ipmi_sensor_value{id="213",name="DIMM 6",type="Memory"} NaN
ipmi_sensor_value{id="216",name="DIMM 7",type="Memory"} NaN
ipmi_sensor_value{id="219",name="DIMM 8",type="Memory"} NaN
ipmi_sensor_value{id="22",name="PSU2 PF Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="222",name="DIMM 9",type="Memory"} NaN
ipmi_sensor_value{id="225",name="DIMM 10",type="Memory"} NaN
ipmi_sensor_value{id="228",name="DIMM 11",type="Memory"} NaN
ipmi_sensor_value{id="23",name="PSU2 IN Failure",type="Power Supply"} NaN
ipmi_sensor_value{id="233",name="DIMM 12",type="Memory"} NaN
ipmi_sensor_value{id="237",name="DIMM 13",type="Memory"} NaN
ipmi_sensor_value{id="240",name="DIMM 14",type="Memory"} NaN
ipmi_sensor_value{id="243",name="DIMM 15",type="Memory"} NaN
ipmi_sensor_value{id="246",name="DIMM 16",type="Memory"} NaN
ipmi_sensor_value{id="249",name="DIMM 17",type="Memory"} NaN
ipmi_sensor_value{id="252",name="DIMM 18",type="Memory"} NaN
ipmi_sensor_value{id="255",name="DIMM 19",type="Memory"} NaN
ipmi_sensor_value{id="258",name="DIMM 20",type="Memory"} NaN
ipmi_sensor_value{id="26",name="IPMI Watchdog",type="Watchdog 2"} NaN
ipmi_sensor_value{id="261",name="DIMM 21",type="Memory"} NaN
ipmi_sensor_value{id="264",name="DIMM 22",type="Memory"} NaN
ipmi_sensor_value{id="267",name="DIMM 23",type="Memory"} NaN
ipmi_sensor_value{id="27",name="SEL Fullness",type="Event Logging Disabled"} NaN
ipmi_sensor_value{id="270",name="DIMM 24",type="Memory"} NaN
ipmi_sensor_value{id="273",name="PCH OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="276",name="PCI 1 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="277",name="PCI 2 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="278",name="PCI 3 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="279",name="PCI 4 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="28",name="Host Power",type="Power Unit"} NaN
ipmi_sensor_value{id="280",name="PCI 5 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="281",name="PCI 6 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="282",name="PCI 7 OverTemp",type="Temperature"} NaN
ipmi_sensor_value{id="289",name="System Air Flow",type="Cooling Device"} 54
ipmi_sensor_value{id="3",name="All CPUs",type="Processor"} NaN
ipmi_sensor_value{id="30",name="DIMMs",type="Critical Interrupt"} NaN
ipmi_sensor_value{id="31",name="One of DIMMs",type="Memory"} NaN
ipmi_sensor_value{id="33",name="Lane Failover",type="Memory"} NaN
ipmi_sensor_value{id="34",name="Memory Resized",type="POST Memory Resize"} NaN
ipmi_sensor_value{id="35",name="Non-Auth DIMMs",type="Memory"} NaN
ipmi_sensor_value{id="36",name="SMI Lane Failed",type="Memory"} NaN
ipmi_sensor_value{id="37",name="Aux Log",type="System Event"} NaN
ipmi_sensor_value{id="38",name="Firmware Error",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="39",name="GPT Status",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="4",name="One of CPUs",type="Processor"} NaN
ipmi_sensor_value{id="40",name="No Boot Device",type="Boot Error"} NaN
ipmi_sensor_value{id="41",name="No Op ROM Space",type="Slot/Connector"} NaN
ipmi_sensor_value{id="43",name="Sec Rollback Err",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="44",name="Secure Boot Err",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="45",name="Sys Boot Status",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="46",name="TPM_TCM Init Err",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="47",name="TPM_TCM Lock",type="Button/Switch"} NaN
ipmi_sensor_value{id="48",name="Phy Presence Set",type="Button/Switch"} NaN
ipmi_sensor_value{id="49",name="TXT ACM Module",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="5",name="CPU 1 Status",type="Processor"} NaN
ipmi_sensor_value{id="51",name="SMM Monitor",type="System Event"} NaN
ipmi_sensor_value{id="53",name="XCC Switchover",type="Version Change"} NaN
ipmi_sensor_value{id="54",name="Low Security Jmp",type="Management Subsystem Health"} NaN
ipmi_sensor_value{id="56",name="XCC DB Status",type="Management Subsystem Health"} NaN
ipmi_sensor_value{id="57",name="NMI State",type="Critical Interrupt"} NaN
ipmi_sensor_value{id="58",name="PCI 1 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="59",name="PCI 2 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="6",name="CPU 2 Status",type="Processor"} NaN
ipmi_sensor_value{id="60",name="PCI 3 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="61",name="PCI 4 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="62",name="PCI 5 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="63",name="PCI 6 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="64",name="PCI 7 Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="65",name="PCIs",type="Critical Interrupt"} NaN
ipmi_sensor_value{id="66",name="All PCI Error",type="Slot/Connector"} NaN
ipmi_sensor_value{id="67",name="One of PCIs",type="Slot/Connector"} NaN
ipmi_sensor_value{id="68",name="No I/O Resources",type="System Firmware Progress"} NaN
ipmi_sensor_value{id="69",name="Front Panel",type="Entity Presence"} NaN
ipmi_sensor_value{id="70",name="COMport Card",type="Cable/Interconnect"} NaN
ipmi_sensor_value{id="71",name="BP 1 Status",type="Entity Presence"} NaN
ipmi_sensor_value{id="72",name="BP 2 Status",type="Entity Presence"} NaN
ipmi_sensor_value{id="73",name="BP 3 Status",type="Entity Presence"} NaN
ipmi_sensor_value{id="74",name="Rear BP Status",type="Entity Presence"} NaN
ipmi_sensor_value{id="75",name="RAID Vol State",type="Drive Slot"} NaN
ipmi_sensor_value{id="76",name="Ext Drive",type="Drive Slot"} NaN
ipmi_sensor_value{id="77",name="Ext Enclosure PS",type="Power Supply"} NaN
ipmi_sensor_value{id="78",name="RAID Log",type="System Event"} NaN
ipmi_sensor_value{id="79",name="Front Video",type="Cable/Interconnect"} NaN
ipmi_sensor_value{id="80",name="PHY Card Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="81",name="M2 Card Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="82",name="M2 Drive 0",type="Drive Slot"} NaN
ipmi_sensor_value{id="83",name="M2 Drive 1",type="Drive Slot"} NaN
ipmi_sensor_value{id="84",name="PCI Riser 1",type="Entity Presence"} NaN
ipmi_sensor_value{id="85",name="PCI Riser 2",type="Entity Presence"} NaN
ipmi_sensor_value{id="86",name="ML2 Card Fault",type="Slot/Connector"} NaN
ipmi_sensor_value{id="87",name="Pwr Rail ABC Err",type="Voltage"} NaN
ipmi_sensor_value{id="88",name="Pwr Rail DEF Err",type="Voltage"} NaN
ipmi_sensor_value{id="89",name="Pwr Rail GHJ Err",type="Voltage"} NaN
ipmi_sensor_value{id="90",name="Pwr Rail KLM Err",type="Voltage"} NaN
ipmi_sensor_value{id="91",name="CPU1 VR",type="Voltage"} NaN
ipmi_sensor_value{id="92",name="CPU2 VR",type="Voltage"} NaN
ipmi_sensor_value{id="93",name="SysBrd Vol Fault",type="Voltage"} NaN
ipmi_sensor_value{id="98",name="Sys Utilization",type="Other Units Based Sensor"} 4
ipmi_sensor_value{id="99",name="CPU Utilization",type="Other Units Based Sensor"} 4
# HELP ipmi_temperature_celsius Temperature reading in degree Celsius.
# TYPE ipmi_temperature_celsius gauge
ipmi_temperature_celsius{id="111",name="CPU1 Temp"} 35
ipmi_temperature_celsius{id="114",name="CPU2 Temp"} 31
ipmi_temperature_celsius{id="199",name="DIMM 1 Temp"} 32
ipmi_temperature_celsius{id="202",name="DIMM 2 Temp"} 32
ipmi_temperature_celsius{id="205",name="DIMM 3 Temp"} 37
ipmi_temperature_celsius{id="208",name="DIMM 4 Temp"} 37
ipmi_temperature_celsius{id="211",name="DIMM 5 Temp"} 34
ipmi_temperature_celsius{id="214",name="DIMM 6 Temp"} 34
ipmi_temperature_celsius{id="217",name="DIMM 7 Temp"} 32
ipmi_temperature_celsius{id="220",name="DIMM 8 Temp"} 32
ipmi_temperature_celsius{id="223",name="DIMM 9 Temp"} 31
ipmi_temperature_celsius{id="226",name="DIMM 10 Temp"} 31
ipmi_temperature_celsius{id="231",name="DIMM 11 Temp"} 29
ipmi_temperature_celsius{id="235",name="DIMM 12 Temp"} 29
ipmi_temperature_celsius{id="238",name="DIMM 13 Temp"} 30
ipmi_temperature_celsius{id="241",name="DIMM 14 Temp"} 30
ipmi_temperature_celsius{id="244",name="DIMM 15 Temp"} 32
ipmi_temperature_celsius{id="247",name="DIMM 16 Temp"} 32
ipmi_temperature_celsius{id="250",name="DIMM 17 Temp"} 31
ipmi_temperature_celsius{id="253",name="DIMM 18 Temp"} 31
ipmi_temperature_celsius{id="256",name="DIMM 19 Temp"} 30
ipmi_temperature_celsius{id="259",name="DIMM 20 Temp"} 30
ipmi_temperature_celsius{id="262",name="DIMM 21 Temp"} 30
ipmi_temperature_celsius{id="265",name="DIMM 22 Temp"} 30
ipmi_temperature_celsius{id="268",name="DIMM 23 Temp"} 30
ipmi_temperature_celsius{id="271",name="DIMM 24 Temp"} 30
ipmi_temperature_celsius{id="274",name="PCH Temp"} 42
ipmi_temperature_celsius{id="275",name="Ambient Temp"} 18
ipmi_temperature_celsius{id="290",name="Exhaust Temp"} 30
# HELP ipmi_temperature_state Reported state of a temperature sensor (0=nominal, 1=warning, 2=critical).
# TYPE ipmi_temperature_state gauge
ipmi_temperature_state{id="111",name="CPU1 Temp"} 0
ipmi_temperature_state{id="114",name="CPU2 Temp"} 0
ipmi_temperature_state{id="199",name="DIMM 1 Temp"} 0
ipmi_temperature_state{id="202",name="DIMM 2 Temp"} 0
ipmi_temperature_state{id="205",name="DIMM 3 Temp"} 0
ipmi_temperature_state{id="208",name="DIMM 4 Temp"} 0
ipmi_temperature_state{id="211",name="DIMM 5 Temp"} 0
ipmi_temperature_state{id="214",name="DIMM 6 Temp"} 0
ipmi_temperature_state{id="217",name="DIMM 7 Temp"} 0
ipmi_temperature_state{id="220",name="DIMM 8 Temp"} 0
ipmi_temperature_state{id="223",name="DIMM 9 Temp"} 0
ipmi_temperature_state{id="226",name="DIMM 10 Temp"} 0
ipmi_temperature_state{id="231",name="DIMM 11 Temp"} 0
ipmi_temperature_state{id="235",name="DIMM 12 Temp"} 0
ipmi_temperature_state{id="238",name="DIMM 13 Temp"} 0
ipmi_temperature_state{id="241",name="DIMM 14 Temp"} 0
ipmi_temperature_state{id="244",name="DIMM 15 Temp"} 0
ipmi_temperature_state{id="247",name="DIMM 16 Temp"} 0
ipmi_temperature_state{id="250",name="DIMM 17 Temp"} 0
ipmi_temperature_state{id="253",name="DIMM 18 Temp"} 0
ipmi_temperature_state{id="256",name="DIMM 19 Temp"} 0
ipmi_temperature_state{id="259",name="DIMM 20 Temp"} 0
ipmi_temperature_state{id="262",name="DIMM 21 Temp"} 0
ipmi_temperature_state{id="265",name="DIMM 22 Temp"} 0
ipmi_temperature_state{id="268",name="DIMM 23 Temp"} 0
ipmi_temperature_state{id="271",name="DIMM 24 Temp"} 0
ipmi_temperature_state{id="274",name="PCH Temp"} 0
ipmi_temperature_state{id="275",name="Ambient Temp"} 0
ipmi_temperature_state{id="290",name="Exhaust Temp"} 0
# HELP ipmi_up '1' if a scrape of the IPMI device was successful, '0' otherwise.
# TYPE ipmi_up gauge
ipmi_up{collector="bmc"} 1
ipmi_up{collector="chassis"} 1
ipmi_up{collector="dcmi"} 1
ipmi_up{collector="ipmi"} 1
ipmi_up{collector="sel"} 1
ipmi_up{collector="sm-lan-mode"} 0
# HELP ipmi_voltage_state Reported state of a voltage sensor (0=nominal, 1=warning, 2=critical).
# TYPE ipmi_voltage_state gauge
ipmi_voltage_state{id="94",name="CMOS Battery"} 0
ipmi_voltage_state{id="95",name="SysBrd 3.3V"} 0
ipmi_voltage_state{id="96",name="SysBrd 5V"} 0
ipmi_voltage_state{id="97",name="SysBrd 12V"} 0
# HELP ipmi_voltage_volts Voltage reading in Volts.
# TYPE ipmi_voltage_volts gauge
ipmi_voltage_volts{id="94",name="CMOS Battery"} 3.16
ipmi_voltage_volts{id="95",name="SysBrd 3.3V"} 3.3
ipmi_voltage_volts{id="96",name="SysBrd 5V"} 5.01
ipmi_voltage_volts{id="97",name="SysBrd 12V"} 12.1

ipmi_exporter output the log:

ts=2022-12-28T03:18:20.227Z caller=collector_sm_lan_mode.go:60 level=error msg="Unexpected number of octets" target=10.121.114.4 octets="unsupported value type"
[root@zhuyk4 ipmi_exporter]# cat VERSION
1.6.1

I did not found metirc ipmi_current_state and ipmi_current_amperes in the called result.

It is recommended to find the corresponding output through the freeipmi command, and then combine the code to find the corresponding indicator; on the other hand, whether ipmi_up can meet your needs

It seems like your server simply does not have any sensors of this type.

Also, the error message you are getting is because you are using the sm-lan-mode collector - which is specific to Supermicro hardware - on what seems to be a Lenovo server.