Skip to content

Fix netbox-agent crashes when dmidecode returns 0w power#404

Open
Sam6734 wants to merge 1 commit intoSolvik:masterfrom
Sam6734:fix-power
Open

Fix netbox-agent crashes when dmidecode returns 0w power#404
Sam6734 wants to merge 1 commit intoSolvik:masterfrom
Sam6734:fix-power

Conversation

@Sam6734
Copy link

@Sam6734 Sam6734 commented Jan 27, 2026

Some hardware reports 0W for PSU power via dmidecode, which causes netbox-agent to send invalid values to NetBox. This change sets power values to None when they are less than 1W to prevent validation errors.

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 this pull request may close these issues.

1 participant