Update MoxaEtherdevice.php (#8409)

No special case needed as we have `sysObjectID` already.
This commit is contained in:
priiduonu
2018-03-20 14:36:22 +02:00
committed by Tony Murray
parent 8c94ccf4d6
commit 40c5f5601e

View File

@@ -46,12 +46,6 @@ class MoxaEtherdevice extends OS implements ProcessorDiscovery
// .1.3.6.1.4.1.8691.7.69.1.54.0 = MOXA-EDSG508E-MIB::cpuLoading30s.0
$oid = $device['sysObjectID'] . '.1.54.0';
if ($device['sysDescr'] == 'IKS-6726A-2GTXSFP-T') {
$oid = '.1.3.6.1.4.1.8691.7.116.1.54.0'; // MOXA-IKS6726A-MIB::cpuLoading30s.0
} elseif ($device['sysDescr'] == 'EDS-G508E-T') {
$oid = '.1.3.6.1.4.1.8691.7.69.1.54.0'; // MOXA-EDSG508E-MIB::cpuLoading30s.0
}
return array(
Processor::discover(
$this->getName(),