Added Huawei UPS2000 support (#10831)

* UPS2000
* tests
* over
* filter on sysDescr
This commit is contained in:
PipoCanaja
2019-12-17 09:08:12 +01:00
committed by GitHub
parent 535469de59
commit acfc2e7c81
5 changed files with 471 additions and 1 deletions

View File

@@ -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') {