Skip to content

Issues with go-native IPMI collector #243

Open
@equinox0815

Description

@equinox0815

I just tested the new go-native IPMI collectors on 2 machines that i have running at home and found some issues. I did my tests using the binaries downloaded from the 1.10.0 release page running on Debian Bookworm. The exporter was running directly on the servers using the "local" connection. The configuration file had this contents

modules:
  default:
    collectors:
    - bmc
    - ipmi
    - chassis
    - sel

The biggest issue was that on one of the machines the BMC collector consistently crashed (SIGSEGV) when being scraped. The log output from the crash can be found here together with some info about the hardware and firmware versions. Once i deactivated the BMC collector via the configuration i was able to scrape metrics from the exporter. However with every scrape i got the following log messages (4 entries per scrape):

level=ERROR source=collector_ipmi_native.go:178 msg="Unknown sensor state" target=[local] state=0x0080

I tried disabling some sensors (using exclude_sensor_ids: in the config) but wasn't able to figure out which sensor ids actually triggered the issue. It would be great if the log line would contain the sensor id in question. Also i found it interesting that the sensor-ids reported by the native implementation differ quite a bit from the ids reported by freeipmi.

On the second host the BMC collector did work. All the info about this host can be found here. Every scrape on this host produced a single log line like this:

level=ERROR source=collector_ipmi_native.go:178 msg="Unknown sensor state" target=[local] state=0x04ff

Again i was not able to find the sensor id that actually triggers this.

If there is any other test i should do let me know. At my day-job i have access to several other kinds of servers with IPMI that i could test. Those are mostly Dell R430,R440 and R450 but also some HP servers. Although i won't be able to get to it for a while because i have a very busy month ahead of me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions