librenms/includes
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
..
caches Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
definitions Aviat WTM reduce snmp load (#13918) 2022-06-15 23:29:57 -05:00
discovery Add APC battery operation time polling, including display in WebUI (#14058) 2022-06-24 02:43:46 +03:00
html Custom OID processing of numeric strings with filters (#13968) 2022-06-10 16:24:50 -05:00
polling Add APC battery operation time polling, including display in WebUI (#14058) 2022-06-24 02:43:46 +03:00
services Use overwrite_ip when set for dns checks (#13133) 2021-08-15 20:36:22 +02:00
sql-schema Remove DefaultWidgetSeeder (#14006) 2022-06-04 13:11:44 -05:00
billing.php Billing: add peak in and out (#13006) 2021-07-26 10:37:52 -05:00
callback.php New module add juniper rpm support + reimplementation of cisco-sla module (#12799) 2021-06-11 13:48:33 -05:00
common.php Port Validation Page to Laravel (#13921) 2022-04-14 11:22:40 -05:00
datastore.inc.php Apply fixes from StyleCI (#13208) 2021-09-08 23:35:56 +02:00
dbFacile.php Move Config loading to a service provider (#13927) 2022-04-22 19:12:07 -05:00
functions.php Fix Hytera error (#13909) 2022-04-12 08:27:31 -05:00
helpers.php New device:add code (#13842) 2022-03-12 16:14:32 -06:00
include-dir.inc.php Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
init.php Move Config loading to a service provider (#13927) 2022-04-22 19:12:07 -05:00
notifications.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
port-descr-parser.inc.php Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
rewrites.php Polling cleanup, fix PHP warnings (#13460) 2021-11-14 14:58:13 -06:00
services.inc.php Fix IPv6 in service check host (#13939) 2022-04-22 10:05:55 -05:00
snmp.inc.php Allow unordered OIDs (global and per-os) (#13923) 2022-04-21 21:49:26 -05:00
snmptrap.inc.php Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
static-config.php
syslog.php Fix issue #13146 (#13148) 2021-08-19 17:31:32 +02:00