Skip to content

Commit

Permalink
newdevice: Added support for Zyxel MES3528 (#5120)
Browse files Browse the repository at this point in the history
  • Loading branch information
erotel authored and laf committed Dec 7, 2016
1 parent 28e35ef commit 5810c3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/discovery/os/zynos.inc.php
@@ -1,5 +1,5 @@
<?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';
}
1 change: 1 addition & 0 deletions tests/OSDiscoveryTest.php
Expand Up @@ -1430,6 +1430,7 @@ public function testZynos()
{
$this->checkOS('zynos', 'zynos-es');
$this->checkOS('zynos', 'zynos-gs');
$this->checkOS('zynos', 'zynos-mes3528');
}

public function testZywall()
Expand Down
2 changes: 2 additions & 0 deletions tests/snmpsim/zynos-mes3528.snmprec
@@ -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

0 comments on commit 5810c3a

Please sign in to comment.