mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added Huawei UPS2000 support (#10831)
* UPS2000 * tests * over * filter on sysDescr
This commit is contained in:
@@ -913,6 +913,9 @@ function get_device_divisor($device, $os_version, $sensor_type, $oid)
|
||||
}
|
||||
} elseif ($device['os'] == 'huaweiups') {
|
||||
if ($sensor_type == 'frequency') {
|
||||
if (starts_with($device['hardware'], "UPS2000")) {
|
||||
return 10;
|
||||
}
|
||||
return 100;
|
||||
}
|
||||
} elseif ($device['os'] == 'hpe-rtups') {
|
||||
|
Reference in New Issue
Block a user