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

Only returns "ups_state" #5

Open
rthinkel opened this issue Jan 9, 2023 · 2 comments
Open

Only returns "ups_state" #5

rthinkel opened this issue Jan 9, 2023 · 2 comments

Comments

@rthinkel
Copy link

rthinkel commented Jan 9, 2023

Hey there, thanks for making an exporter for pwrstat. My only issue is that I seem to only get the value for "ups_state" and nothing else.

@arcenik
Copy link

arcenik commented Jul 11, 2024

Same for me.

Looks like the pwrstatd daemon fails to communicate with the UPS.

# cat /var/log/pwrstatd.log 
2024/07/11 15:19:30 PM  Daemon startups.
2024/07/11 15:19:44 PM  The H2C device can't be used, because the linux system does not support libusb or libusb version is too old.
2024/07/11 15:20:48 PM  Communication is established.
2024/07/11 15:20:51 PM  Utility failed.
2024/07/11 15:20:51 PM  Begin to shutdown PC immediately!
2024/07/11 15:20:57 PM  Communication is lost.

@krispayne
Copy link

@arcenik that sounds like a connection issue, not an issue with the exporter. Make sure that the exporter can see the device and that the device is reliably connected.

I just set this up (docker-compose method) and it is working flawlessly!

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

No branches or pull requests

3 participants