Update apc.inc.php (#13405)

Fixes the wrong temperature multiplier in APC devices . In case high precision is not available and using older APC firmware
This commit is contained in:
TheGracens
2021-10-22 00:08:50 +02:00
committed by GitHub
parent 6e5ec4a0b8
commit e4d26c0c09

View File

@@ -9,7 +9,7 @@ if (! $oids) {
// upsAdvBatteryTemperature, used in case high precision is not available
$oids = snmp_get($device, '.1.3.6.1.4.1.318.1.1.1.2.2.2.0', '-OsqnU', '');
d_echo($oids . "\n");
$divisor = 1;
$precision = 1;
}
if ($oids) {