Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerSupply duplicate metrics #85

Closed
ibrahimkk-moideen opened this issue Jul 9, 2024 · 1 comment · Fixed by #86
Closed

PowerSupply duplicate metrics #85

ibrahimkk-moideen opened this issue Jul 9, 2024 · 1 comment · Fixed by #86
Assignees

Comments

@ibrahimkk-moideen
Copy link
Collaborator

PowerSupply metric is including PSUs which are not enabled with incorrect bay numbers.

# HELP redfish_power_supply_status Current power supply status 1 = OK, 0 = BAD
# TYPE redfish_power_supply_status gauge
redfish_power_supply_status{bayNumber="1",chassisModel="xxxx",chassisSerialNumber="xxxx",firmwareVersion="2.00",manufacturer="",model="P38997-B21",name="HpeServerPowerSupply",powerSupplyType="AC",serialNumber="xxxx"} 1

## duplicate/incorrect metric
redfish_power_supply_status{bayNumber="2",chassisModel="xxxx",chassisSerialNumber="xxxx",firmwareVersion="",manufacturer="",model="",name="",powerSupplyType="",serialNumber=""} 0

redfish_power_supply_status{bayNumber="2",chassisModel="xxxx",chassisSerialNumber="xxxx",firmwareVersion="2.00",manufacturer="",model="P38997-B21",name="HpeServerPowerSupply",powerSupplyType="AC",serialNumber="xxxx"} 1
@ibrahimkk-moideen ibrahimkk-moideen self-assigned this Jul 9, 2024
@ibrahimkk-moideen
Copy link
Collaborator Author

#86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant