Fixed bug with temp was deviced by 2

This commit is contained in:
Rudy Hardeman
2015-05-14 21:52:43 +02:00
parent 309014a924
commit 10e9daa253
@@ -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);
}
}