Closed eddyg closed 4 years ago
HI @eddyg from what you pasted, I can see that the power supplies from HPE servers don't have ID
items, but actually this implemetation will relay on this to distinguish different powersupplies, and the upstream this project depends on don't implemented the function to extract ID
from OEM
section.
and maybe new version of firmware has conform to the spec of the redfish. if possible, please consider to upgrade your firmware firstly.
or you can commente out the powersupply code and re-compile it again
Thanks for following up. I will check to see if there's any firmware updates available from HPE that might address this issue (since it sounds like this may be out-of-spec).
I did try commenting out the code around the call to chassis.Power()
(in chassis_collector.go
) and it was able to gather the other metrics, so at least that's something!
Thanks again.
I have been looking for a way to get metrics from HPE servers into Prometheus.
I had hoped that redfish_exporter might just work "out of the box", but unfortunately when I try to initiate a "scrape", it errors:
Any idea on what it might take to make this work?
If it helps, when I manually query
/redfish/v1/Chassis/1/Power/
, this is what's returned (after being "pretty-printed" withjq
so it's not just one long line):