Files
librenms-librenms/includes/polling
Marek Wobst 654f97c302 Add APC battery operation time polling, including display in WebUI (#14058)
* Fetch and store upsBasicBatteryLastReplaceDate

For APC USV, sensor class is 'runtime'

* Change type string for battery's life time

* Change limits to meaningful values, remove debug output

Limits are 4 (warn) and 5 (critical) years, using our own experience.

* Add time calculation for battery life time during polling

This means that the received date is subtracted from current
time, the difference is stored as minutes, just like with discovery.

* Improve sensor description/label (again)

* Correct label for battery's life time to “operating time”

* Add test data for APC UPS to test new used OID

OID for the last battery exchange date, which is used
for calculation the operation time.

* Changes for styleCI

* Fix more files for styleCI

* Remove a duplicated empty line (styleCI)

* Update test data
2022-06-24 02:43:46 +03:00
..
2020-09-21 15:59:34 +02:00
2021-03-12 18:10:14 -06:00
2021-10-02 18:03:24 -05:00
2021-09-10 20:09:53 +02:00
2020-11-23 15:35:35 -06:00
2021-09-10 20:09:53 +02:00
2021-09-10 20:09:53 +02:00
2021-11-17 19:23:55 -06:00
2021-11-12 13:49:09 -06:00
2022-01-30 16:28:18 -06:00
2020-11-23 15:35:35 -06:00