mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Generex load sensor divisor (#6155)
This commit is contained in:
@@ -921,6 +921,8 @@ function get_device_divisor($device, $serial, $sensor)
|
||||
$divisor = 100;
|
||||
} elseif (($device['os'] == 'netmanplus') && ($sensor == 'voltages')) {
|
||||
$divisor = 1;
|
||||
} elseif (($device['os'] == 'generex-ups') && ($sensor == 'load')) {
|
||||
$divisor = 1;
|
||||
} else {
|
||||
$divisor = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user