mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
Update PlanetOS detection (#6090)
* Add new Planet switch * changed definition + added more tests
This commit is contained in:
parent
ab793b7d77
commit
a9ad228be4
@ -8,5 +8,4 @@ over:
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.10456.1.1516
|
||||
- .1.3.6.1.4.1.10456.1.1566
|
||||
- .1.3.6.1.4.1.10456.1.
|
@ -1327,6 +1327,8 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$this->checkOS('planetos');
|
||||
$this->checkOS('planetos', 'planetos1');
|
||||
$this->checkOS('planetos', 'planetos-gs-5220-16s8c');
|
||||
$this->checkOS('planetos', 'planetos-sgsw-24240');
|
||||
}
|
||||
|
||||
public function testPoweralert()
|
||||
|
2
tests/snmpsim/planetos-gs-5220-16s8c.snmprec
Normal file
2
tests/snmpsim/planetos-gs-5220-16s8c.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|PLANET GS-5220-16S8C Managed Switch
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10456.1.1494
|
2
tests/snmpsim/planetos-sgsw-24240.snmprec
Normal file
2
tests/snmpsim/planetos-sgsw-24240.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|PLANET SGSW-24240 Managed Switch
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10456.1.1495
|
Loading…
Reference in New Issue
Block a user