From 97c5b771e6c8639816e7d4b391a07e92c3f39211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Rosiak?= Date: Tue, 24 Jan 2017 21:42:25 +0100 Subject: [PATCH] newdevice: Improve Cisco ISE detection (#5578) * newdevice: Improve Cisco ISE detection * add sysDescr --- includes/definitions/ise.yaml | 1 + tests/OSDiscoveryTest.php | 1 + tests/snmpsim/ise2.snmprec | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tests/snmpsim/ise2.snmprec diff --git a/includes/definitions/ise.yaml b/includes/definitions/ise.yaml index 12359caed5..00b11567cf 100644 --- a/includes/definitions/ise.yaml +++ b/includes/definitions/ise.yaml @@ -29,4 +29,5 @@ mib_dir: discovery: - sysObjectId: - .1.3.6.1.4.1.9.1.2139 + - .1.3.6.1.4.1.9.1.1425 - .1.3.6.1.4.1.9.1.1426 diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index e3365aa9dc..625b0e2e6f 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -791,6 +791,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase { $this->checkOS('ise'); $this->checkOS('ise', 'ise1'); + $this->checkOS('ise', 'ise2'); } public function testJetdirect() diff --git a/tests/snmpsim/ise2.snmprec b/tests/snmpsim/ise2.snmprec new file mode 100644 index 0000000000..a0f966bf67 --- /dev/null +++ b/tests/snmpsim/ise2.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|Cisco Identity Services Engine +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9.1.1425