mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Adjustment in #9301: Eaton Galaxy HW seems to be the exception here with divisor 10 for voltage * fix for APC Galaxy UPS (and not Eaton anymore) * remove Galaxy test data from eaton-mgeups files * tests: APC Galaxy 7000 test data
This commit is contained in:
committed by
Neil Lathwood
parent
0ec8f18459
commit
c37786d845
@@ -852,7 +852,7 @@ function get_device_divisor($device, $os_version, $sensor_type, $oid)
|
||||
if ($sensor_type == 'voltage' && !starts_with($oid, '.1.3.6.1.2.1.33.1.2.5.') && !starts_with($oid, '.1.3.6.1.2.1.33.1.3.3.1.3')) {
|
||||
return 1;
|
||||
}
|
||||
} elseif ($device['os'] == 'eaton-mgeups') {
|
||||
} elseif ($device['os'] == 'apc-mgeups') {
|
||||
if ($sensor_type == 'voltage') {
|
||||
return 10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user