diff --git a/includes/definitions/planetos.yaml b/includes/definitions/planetos.yaml index b41a6e49c1..ab853b25c3 100644 --- a/includes/definitions/planetos.yaml +++ b/includes/definitions/planetos.yaml @@ -9,3 +9,4 @@ over: discovery: - sysObjectId: - .1.3.6.1.4.1.10456.1.1516 + - .1.3.6.1.4.1.10456.1.1566 diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index d2c5856e39..73ac523415 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -1326,6 +1326,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase public function testPlanetos() { $this->checkOS('planetos'); + $this->checkOS('planetos', 'planetos1'); } public function testPoweralert() diff --git a/tests/snmpsim/planetos1.snmprec b/tests/snmpsim/planetos1.snmprec new file mode 100644 index 0000000000..140798ca2c --- /dev/null +++ b/tests/snmpsim/planetos1.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|SGS-6340-16XR Device, Compiled Mar 29 09:39:29 2016 SoftWare Version 7.4.3.0(R0006.0031) BootRom Version 7.4.5 HardWare Version 1.0.1 SoftWare Version 7.4.3.0(R0006.0031) BootRom Version 8.4.5 HardWare Version 1.0.1 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10456.1.1566