monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 8 forks source link

node: export IPMI sensor data #271

Open lorenz opened 8 months ago

lorenz commented 8 months ago

We want to be able to get all IPMI sensor data as metrics. There is ipmi_exporter from the prometheus-community org, but it shells out to freeipmi which does not work for us. There is https://pkg.go.dev/github.com/gebn/bmc which contains a pure-Go upper-layer protocol implementation for IPMI, but we need to convert the sensor readings to metrics as well as provide a lower-layer (SMBus) connection implementation.