jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 61 forks source link

metrics missing due to numbers with decimal place #66

Open ulikl opened 1 year ago

ulikl commented 1 year ago

I'm seeing the following error message for some RAID Storage devices:

2023/02/28 09:32:35 error error getting storage data from system System=System.Embedded.1 app=redfish_exporter collector=SystemCollector error=failed to retrieve some items: [{"link":"/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Slot.6-1","error":"json: cannot unmarshal number 12.0 into Go struct field .StorageControllers of type int"}] operation=system.Storage()

Is is possible to change the expected type to decimal?

fschlich commented 11 months ago

same here