Skip to content

Conversation

@osiktech
Copy link
Contributor

I have two UPSs from APC. One reports battery.temperature the other ups.temperature. This small fix should fix to get a temperature reading.

@CLAassistant
Copy link

CLAassistant commented Aug 18, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@VVelox VVelox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should likely make use of head -n 1 to ensure there is only one in case there is both. That or check for one and then use the other if not found.

@osiktech
Copy link
Contributor Author

@VVelox: not sure what you mean. this is taken care of in line 43.

@VVelox
Copy link
Collaborator

VVelox commented Sep 22, 2025

@osiktech derp! missed that =^.^=

@VVelox VVelox closed this Sep 22, 2025
@VVelox VVelox reopened this Sep 22, 2025
@osiktech
Copy link
Contributor Author

@VVelox: no worries, better to check twice. I could have made a mistake 😉

@VVelox VVelox merged commit ec78820 into librenms:master Sep 22, 2025
3 checks passed
@VVelox
Copy link
Collaborator

VVelox commented Sep 22, 2025

thanks!

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.

3 participants