hpilo-exporter icon indicating copy to clipboard operation
hpilo-exporter copied to clipboard

Metric not working for fan and power supply

Open aadhikary opened this issue 5 years ago • 0 comments

Hi,

Currently it seems like the exporter is not reading the status of two components correctly fans: {redundancy: Redundant, status: OK} power_supplies: {redundancy: Redundant, status: OK}

I think this is because unlike other components "battery: {status: OK} or bios_hardware: {status: OK}" the fan and power_supplies have multiple fields "redundancy" and "status". The exporter is not able to handle the field redundancy and always returns "2" for fans and power_supplies. The exporter should always read from field status.

Could you help us with this issue please?

Thanks

aadhikary avatar Mar 31 '20 08:03 aadhikary