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:
martinvenes
2024-10-02 00:00:06 +02:00
committed by GitHub
parent c7e0a14489
commit ba6aa2a687
2 changed files with 33 additions and 0 deletions

View File

@@ -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

View File

@@ -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",