mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: update zywall and zyxelnwa detection #5343
This commit is contained in:
@@ -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/'
|
||||
|
@@ -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'
|
||||
|
@@ -1538,5 +1538,6 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
public function testZyxelnwa()
|
||||
{
|
||||
$this->checkOS('zyxelnwa');
|
||||
$this->checkOS('zyxelnwa', 'zyxelnwa1');
|
||||
}
|
||||
}
|
||||
|
@@ -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
tests/snmpsim/zyxelnwa1.snmprec
Normal file
2
tests/snmpsim/zyxelnwa1.snmprec
Normal 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
|
Reference in New Issue
Block a user