Skip to content

Metric not working for fan and power supply #11

@aadhikary

Description

@aadhikary

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions