Open
Description
Hi,
i just started testing the native collector on a fleet of nearly thousand hosts.
The exporter started panicing with this backtrace:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6314be]
goroutine 14413 [running]:
github.com/bougou/go-ipmi.(*SystemInfoParams).ToSystemInfo(0xc0003095e8)
/go/pkg/mod/github.com/bougou/[email protected]/types_system_info_params.go:101 +0x3e
main.BMCNativeCollector.Collect({}, {{0x0, 0x0, 0x0}, {_, _}}, _, {{0xc00039cdd1, 0x1f}, {{0xc000292350, ...}, ...}})
/app/collector_bmc_native.go:71 +0x294
main.ConfiguredCollector.Collect(...)
/app/config.go:69
main.metaCollector.Collect({{0xc00039cdd1, 0x1f}, {0xabc8b5, 0x7}, 0xfbf760}, 0xc000197b90)
/app/collector.go:118 +0x5b6
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:458 +0xe5
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather in goroutine 1923
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:467 +0x568
this might be an issue in go-ipmi, let me know if i should report it there
Metadata
Metadata
Assignees
Labels
No labels