mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Detect all CTC Union devices (#5489)
This commit is contained in:
committed by
Neil Lathwood
parent
9263857685
commit
0a5bedb76f
@@ -8,4 +8,4 @@ over:
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.4756.116.
|
||||
- .1.3.6.1.4.1.4756.
|
||||
|
@@ -382,6 +382,9 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
public function testCtcu()
|
||||
{
|
||||
$this->checkOS('ctcu');
|
||||
$this->checkOS('ctcu', 'ctcu1');
|
||||
$this->checkOS('ctcu', 'ctcu2');
|
||||
$this->checkOS('ctcu', 'ctcu3');
|
||||
}
|
||||
|
||||
public function testCucm()
|
||||
|
2
tests/snmpsim/ctcu1.snmprec
Normal file
2
tests/snmpsim/ctcu1.snmprec
Normal file
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|MSW-4424C GigaBit Ethernet Switch
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.4756.0
|
2
tests/snmpsim/ctcu2.snmprec
Normal file
2
tests/snmpsim/ctcu2.snmprec
Normal file
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|ICS-G24S4X Core Switch
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.4756.0
|
2
tests/snmpsim/ctcu3.snmprec
Normal file
2
tests/snmpsim/ctcu3.snmprec
Normal file
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|MSW202 GigaBit Ethernet Switch
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.4756.101
|
Reference in New Issue
Block a user