prometheus-community / ipmi_exporter

Remote IPMI exporter for Prometheus
MIT License
471 stars 133 forks source link

"unsupported value type" on FreeBSD #85

Closed tarkhil closed 2 years ago

tarkhil commented 3 years ago

Build ipmi_explorer on FreeBSD.

root@stor:/usr/local/src/ipmi_exporter # /usr/local/sbin/ipmi_exporter --freeipmi.path=/usr/local/sbin
level=info ts=2021-10-23T19:53:18.323Z caller=main.go:101 msg="Starting ipmi_exporter" version="(version=1.4.0, branch=master, revision=b806738818fe9e6bf5dbf23abba97392bf53786b)"
level=info ts=2021-10-23T19:53:18.323Z caller=main.go:166 msg="Listening on" address=:9290
level=debug ts=2021-10-23T19:53:31.777Z caller=config.go:282 msg="Needed default config for, but none configured, using FreeIPMI defaults" target=[local]
level=debug ts=2021-10-23T19:53:31.778Z caller=collector.go:100 msg="Running collector" collector=ipmi
level=debug ts=2021-10-23T19:53:31.778Z caller=freeipmi.go:139 msg=Executing command=/usr/local/sbin/ipmimonitoring args="unsupported value type"
level=debug ts=2021-10-23T19:53:32.044Z caller=collector_ipmi.go:161 msg="Got values" data="unsupported value type"
level=debug ts=2021-10-23T19:53:32.044Z caller=collector_ipmi.go:161 msg="Got values" data="unsupported value type"
level=debug ts=2021-10-23T19:53:32.044Z caller=collector_ipmi.go:161 msg="Got values" data="unsupported value type"
level=debug ts=2021-10-23T19:53:32.044Z caller=collector_ipmi.go:161 msg="Got values" data="unsupported value type"
level=debug ts=2021-10-23T19:53:32.044Z caller=collector_ipmi.go:161 msg="Got values" data="unsupported value type"

And I have no idea on what's wrong. ipmimonitoring works ok.

bitfehler commented 3 years ago

Thank you for the report. I am currently in a situation with limited access to computers. I'll be able to look into this more closely when I get back (end of November). It looks like you are attempting to scrape the local host's IPMI, is that right?

tarkhil commented 3 years ago

Yes. And ipmimonitoring gives results, at least human-readable ones.

tarkhil commented 3 years ago

As far as I understand, different builds or versions or something else of ipmimonitoring yields different formats by default.

What output does ipmi_exporter expect?

snaar commented 3 years ago

88 should fix it

tarkhil commented 2 years ago

Confirm. It works now.