Merge pull request #1013 from NURDspace/ilo-support

Fixed bug with temp was divided by 2
This commit is contained in:
Neil Lathwood
2015-05-14 21:10:44 +01:00

View File

@ -21,7 +21,7 @@
$threshold_oid = "1.3.6.1.4.1.232.6.2.6.8.1.5.$temperature_id";
$threshold = snmp_get($device,$threshold_oid,"-Oqv","");
discover_sensor($valid['sensor'], 'temperature', $device, $temperature_oid, $oid, 'hpilo', $descr, '2', '1', NULL, NULL, NULL, $threshold, $temperature);
discover_sensor($valid['sensor'], 'temperature', $device, $temperature_oid, $oid, 'hpilo', $descr, '1', '1', NULL, NULL, NULL, $threshold, $temperature);
}
}