lovoo / ipmi_exporter

IPMI Exporter for prometheus.io, written in Go.
BSD 3-Clause "New" or "Revised" License
80 stars 32 forks source link

Bad 8 bit int conversion? #37

Open ksanislo opened 5 years ago

ksanislo commented 5 years ago

There's a bug in convertRawOutput that seems to be turning any value >= 128 into a 0... I suspect that it's related to this conversion:

https://github.com/lovoo/ipmi_exporter/blob/4c54ecc2bb53341cad990784aaba762e46b115fe/collector/collector.go#L104

Unfortunately, I can't get a working docker golang environment that will successfully finish a build to provide any more helpful information yet. I'll update after I manage to build this on my own end and debug further.