mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix eNexus total current for Smartpack S (#14606)
* Fix eNexus divisor Thanks to @loopodoopo, it looks like Smartpack S returns 1/10 Amps instead of Amps. Set them separately fixes #14414 * I did not wait for data to fully update :D
This commit is contained in:
@@ -316,6 +316,25 @@ modules:
|
||||
group: Output
|
||||
warn_limit: rectifiersCurrentMinorAlarmLevel
|
||||
high_limit: rectifiersCurrentMajorAlarmLevel
|
||||
skip_values:
|
||||
-
|
||||
device: hardware
|
||||
op: '='
|
||||
value: Smartpack S
|
||||
- # Smartpack S returns 10ths of an amp
|
||||
oid: rectifiersCurrent
|
||||
value: rectifiersCurrentValue
|
||||
num_oid: '.1.3.6.1.4.1.12148.10.5.2.5.{{ $index }}'
|
||||
descr: System Output Current
|
||||
index: 'current.{{ $index }}'
|
||||
group: Output
|
||||
divisor: 10
|
||||
warn_limit: rectifiersCurrentMinorAlarmLevel
|
||||
high_limit: rectifiersCurrentMajorAlarmLevel
|
||||
skip_values:
|
||||
- device: hardware
|
||||
op: '!='
|
||||
value: Smartpack S
|
||||
-
|
||||
oid: rectifierTable
|
||||
value: rectifierOutputCurrentValue
|
||||
|
||||
@@ -82,11 +82,11 @@
|
||||
"sensor_type": "enexus",
|
||||
"sensor_descr": "System Output Current",
|
||||
"group": "Output",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 4,
|
||||
"sensor_limit": 5000,
|
||||
"sensor_limit_warn": 4000,
|
||||
"sensor_current": 0.4,
|
||||
"sensor_limit": 500,
|
||||
"sensor_limit_warn": 400,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
|
||||
@@ -82,11 +82,11 @@
|
||||
"sensor_type": "enexus",
|
||||
"sensor_descr": "System Output Current",
|
||||
"group": "Output",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 57,
|
||||
"sensor_limit": 5000,
|
||||
"sensor_limit_warn": 4000,
|
||||
"sensor_current": 5.7,
|
||||
"sensor_limit": 500,
|
||||
"sensor_limit_warn": 400,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
|
||||
Reference in New Issue
Block a user