"ipmi_exporter" version="(version=1.10.1, branch=HEAD, revision=291d0107bdab44df5a7ff50ce552ee3ccc23b52a)"
OS OEL8.10, kernel 4.18.0-553.117.1.0.1.el8_10
HPE ProLiant DL360 Gen10 w/ iLO5 v3.18
HPE ProLiant Compute DL380a Gen12 w/ iLO6 v1.74
./ipmi_exporter --no-native-ipmi works correctly on both systems
Using ./ipmi_exporter --native-ipmi on the first system records multiple errors in the log of the form
level=ERROR source=collector_ipmi_native.go:181 msg="Unknown sensor state" target=[local] state=0x0180 sensor_id=174
This is repeated for a total of 16 sensor ids.
The same errors are reported on the second system 8 times, then the program panics
panic: runtime error: slice bounds out of range [:17] with capacity 16
goroutine 30 [running]:
github.com/bougou/go-ipmi.getSystemInfoStringMeta({0xc000598080?, 0xf4cc48?, 0x30?})
/go/pkg/mod/github.com/bougou/go-ipmi@v0.7.6/cmd_get_system_info_params.go:387 +0x4b3
github.com/bougou/go-ipmi.(*SystemInfoParams).ToSystemInfo(0xc000309510)
/go/pkg/mod/github.com/bougou/go-ipmi@v0.7.6/types_system_info_params.go:104 +0xc5
main.BMCNativeCollector.Collect({}, {{0x0, 0x0, 0x0}, {_, _}}, _, {{0x0, 0x0}, {{0x0, ...}, ...}})
/app/collector_bmc_native.go:76 +0x3c5
main.ConfiguredCollector.Collect(...)
/app/config.go:69
main.metaCollector.Collect({{0x0, 0x0}, {0xa9374a, 0x7}, 0xf7f120}, 0xc00021c5b0)
/app/collector.go:118 +0x5b6
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
/go/pkg/mod/github.com/prometheus/client_golang@v1.22.0/prometheus/registry.go:458 +0xe5
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather in goroutine 26
/go/pkg/mod/github.com/prometheus/client_golang@v1.22.0/prometheus/registry.go:548 +0xbab
"ipmi_exporter" version="(version=1.10.1, branch=HEAD, revision=291d0107bdab44df5a7ff50ce552ee3ccc23b52a)"
OS OEL8.10, kernel 4.18.0-553.117.1.0.1.el8_10
HPE ProLiant DL360 Gen10 w/ iLO5 v3.18
HPE ProLiant Compute DL380a Gen12 w/ iLO6 v1.74
./ipmi_exporter --no-native-ipmi works correctly on both systems
Using ./ipmi_exporter --native-ipmi on the first system records multiple errors in the log of the form
This is repeated for a total of 16 sensor ids.
The same errors are reported on the second system 8 times, then the program panics