librenms
librenms copied to clipboard
Add pwrstatd application
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.
PR for the pwrstat.py snmp script here.
PR for the pwrstat.py snmp script here.
Just needs the lint sorted out there for getting it merged. :)
Missing the json part of the test data
Hello. Is there anything needed from me on this CR?