mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Added support for Zyxel MES3528 (#5120)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (starts_with($sysObjectId, '.1.3.6.1.4.1.890') && starts_with($sysDescr, array('ES', 'GS'))) {
|
if (starts_with($sysObjectId, '.1.3.6.1.4.1.890') && starts_with($sysDescr, array('ES', 'GS', 'MES'))) {
|
||||||
$os = 'zynos';
|
$os = 'zynos';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1430,6 +1430,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$this->checkOS('zynos', 'zynos-es');
|
$this->checkOS('zynos', 'zynos-es');
|
||||||
$this->checkOS('zynos', 'zynos-gs');
|
$this->checkOS('zynos', 'zynos-gs');
|
||||||
|
$this->checkOS('zynos', 'zynos-mes3528');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testZywall()
|
public function testZywall()
|
||||||
|
|||||||
2
tests/snmpsim/zynos-mes3528.snmprec
Normal file
2
tests/snmpsim/zynos-mes3528.snmprec
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
1.3.6.1.2.1.1.1.0|4|MES-3528
|
||||||
|
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.890.1.5.8.51
|
||||||
Reference in New Issue
Block a user