Combined paste - https://paste.rs/TXAiN.txt
The netagent2 detection does not pick up:
”.1.3.6.1.4.1.935.1.1.1.2.2.4.0” Battery backup time (Estimated)
I currently have this as a custom oid on the device in LibreNMS but it would be preferable to see it on the main device page, similar to how APC devices are.
e.g. APC stats:
@Keith_Lawrence apply this patch and see if it works for you.
master ← sandap1:netagent-0226
opened 08:21AM - 26 Feb 26 UTC
Added UPS estimated runtime
From : https://community.librenms.org/t/add-runti… me-to-health-on-netagent2-device/
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.
- [ ] Have you followed our [code guidelines?](https://docs.librenms.org/Developing/Code-Guidelines/)
- [ ] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
- [ ] If my Pull Request makes discovery/polling/yaml changes, I have added/updated [test data](https://docs.librenms.org/Developing/os/Test-Units/).
#### 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.