newdevice: update zywall and zyxelnwa detection #5343

This commit is contained in:
Neil Lathwood
2017-01-22 19:17:21 +00:00
committed by GitHub
parent a0f5fe4f37
commit f2996923b3
5 changed files with 15 additions and 5 deletions

View File

@@ -6,7 +6,10 @@ over:
- { graph: device_bits, text: Traffic }
icon: zyxel
discovery:
- sysObjectId:
- .1.3.6.1.4.1.890.1.6
- .1.3.6.1.4.1.890.1.15
-
sysObjectId:
- .1.3.6.1.4.1.890.1.6
- .1.3.6.1.4.1.890.1.15
sysDescr_regex:
- '/^ZyWALL/'
- sysDescr_regex: '/^ZyWALL 2X/'

View File

@@ -4,5 +4,8 @@ group: zyxel
type: network
icon: zyxel
discovery:
- sysDescr_regex:
- '/^NWA-/'
-
sysDescr_regex:
- '/^NWA/'
sysObjectId:
- '.1.3.6.1.4.1.890.1.15'

View File

@@ -1538,5 +1538,6 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
public function testZyxelnwa()
{
$this->checkOS('zyxelnwa');
$this->checkOS('zyxelnwa', 'zyxelnwa1');
}
}

View File

@@ -1 +1,2 @@
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.890.1.15
1.3.6.1.2.1.1.1.0|4|NWA-

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|NWA3560-N
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.890.1.15