infinityworks/hpilo-exporter

Metric not working for fan and power supply

Opened this issue · 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