mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Zyxel ZyWALL Improvement #5185
This commit is contained in:
Søren Rosiak
committed by
Neil Lathwood
parent
d4311d0e54
commit
e49498b689
@ -4,6 +4,6 @@ if (starts_with($sysDescr, 'ZyWALL 2X')) {
|
||||
$os = 'zywall';
|
||||
}
|
||||
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.890.1.15')) {
|
||||
if (starts_with($sysObjectId, array('.1.3.6.1.4.1.890.1.6', '.1.3.6.1.4.1.890.1.15'))) {
|
||||
$os = 'zywall';
|
||||
}
|
||||
|
@ -1460,6 +1460,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
public function testZywall()
|
||||
{
|
||||
$this->checkOS('zywall');
|
||||
$this->checkOS('zywall', 'zywall1');
|
||||
}
|
||||
|
||||
public function testZyxelnwa()
|
||||
|
2
tests/snmpsim/zywall1.snmprec
Normal file
2
tests/snmpsim/zywall1.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|ZyWALL USG 300
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.890.1.6
|
Reference in New Issue
Block a user