librenms icon indicating copy to clipboard operation
librenms copied to clipboard

Add pwrstatd application

Open bnerickson opened this issue 2 years ago • 5 comments

This PR adds support for monitoring CyberPower PSUs connected via USB to a Linux computer. The relevant powerpanel application (available for free here) provides information about load, voltage, and remaining battery runtime.

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • [X] Have you followed our code guidelines?
  • [ ] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • [X] If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926 After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

bnerickson avatar Sep 18 '22 04:09 bnerickson

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 18 '22 04:09 CLAassistant

PR for the pwrstat.py snmp script here.

bnerickson avatar Sep 18 '22 04:09 bnerickson

PR for the pwrstat.py snmp script here.

Just needs the lint sorted out there for getting it merged. :)

VVelox avatar Sep 19 '22 13:09 VVelox

Missing the json part of the test data

Jellyfrog avatar Sep 23 '22 23:09 Jellyfrog

Hello. Is there anything needed from me on this CR?

bnerickson avatar Oct 03 '22 18:10 bnerickson