mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update MoxaEtherdevice.php (#8409)
No special case needed as we have `sysObjectID` already.
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user