Navigation Menu

Skip to content

Commit

Permalink
newdevice: update zywall and zyxelnwa detection #5343
Browse files Browse the repository at this point in the history
  • Loading branch information
laf committed Jan 22, 2017
1 parent a0f5fe4 commit f299692
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
9 changes: 6 additions & 3 deletions includes/definitions/zywall.yaml
Expand Up @@ -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/'
7 changes: 5 additions & 2 deletions includes/definitions/zyxelnwa.yaml
Expand Up @@ -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'
1 change: 1 addition & 0 deletions tests/OSDiscoveryTest.php
Expand Up @@ -1538,5 +1538,6 @@ public function testZywall()
public function testZyxelnwa()
{
$this->checkOS('zyxelnwa');
$this->checkOS('zyxelnwa', 'zyxelnwa1');
}
}
1 change: 1 addition & 0 deletions tests/snmpsim/zyxelnwa.snmprec
@@ -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-
2 changes: 2 additions & 0 deletions tests/snmpsim/zyxelnwa1.snmprec
@@ -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

0 comments on commit f299692

Please sign in to comment.