mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update eltek-webpower to add batteryQuality (#16188)
* Update eltek-webpower.yaml Added the BatteryQuality value. Shows the battery quality percentage of the latest battery test. * Update eltek-webpower.yaml fixed the json format error * Update eltek-webpower.json --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -262,3 +262,11 @@ modules:
|
||||
num_oid: '.1.3.6.1.4.1.12148.9.3.20.3.{{ $index }}'
|
||||
index: 'batteryCapacityUsed.{{ $index }}'
|
||||
descr: Battery capacity used (Ah)
|
||||
percent:
|
||||
data:
|
||||
-
|
||||
oid: batteryCapacityData
|
||||
value: batteryQuality
|
||||
num_oid: '.1.3.6.1.4.1.12148.9.3.20.5.{{ $index }}'
|
||||
index: 'batteryQuality.{{ $index }}'
|
||||
descr: Battery Quality
|
||||
|
@@ -433,6 +433,31 @@
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "percent",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.12148.9.3.20.5.0",
|
||||
"sensor_index": "batteryQuality.0",
|
||||
"sensor_type": "eltek-webpower",
|
||||
"sensor_descr": "Battery Quality",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "runtime",
|
||||
|
Reference in New Issue
Block a user