newdevice: Improve Checkpoint Discovery (#5334)

This commit is contained in:
Søren Rosiak
2017-01-08 15:53:10 +02:00
committed by Neil Lathwood
parent e552bb4a95
commit 19a92fdbfc
4 changed files with 5 additions and 1 deletions

View File

@@ -9,4 +9,4 @@ over:
- { graph: device_mempool, text: 'Memory Usage' } - { graph: device_mempool, text: 'Memory Usage' }
discovery: discovery:
- sysObjectId: - sysObjectId:
- .1.3.6.1.4.1.2620.1.6.123.1.49 - .1.3.6.1.4.1.2620.1.6.123.1

View File

@@ -10,6 +10,7 @@ $skip_oids = array(
'.1.3.6.1.4.1.9.1.1348', // Cisco Unified Communications Manager '.1.3.6.1.4.1.9.1.1348', // Cisco Unified Communications Manager
'.1.3.6.1.4.1.3375.2.1', // F5 '.1.3.6.1.4.1.3375.2.1', // F5
'.1.3.6.1.4.1.534.', // Eaton '.1.3.6.1.4.1.534.', // Eaton
'.1.3.6.1.4.1.2620.1.6.123.1' // Checkpoint
); );
if (starts_with($sysDescr, 'Linux') && !starts_with($sysObjectId, $skip_oids)) { if (starts_with($sysDescr, 'Linux') && !starts_with($sysObjectId, $skip_oids)) {

View File

@@ -634,6 +634,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
public function testGaia() public function testGaia()
{ {
$this->checkOS('gaia'); $this->checkOS('gaia');
$this->checkOS('gaia', 'gaia1');
} }
public function testGamatronicups() public function testGamatronicups()

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Linux st1fw01 2.6.18-92cpx86_64 #1 SMP Mon Jan 19 12:13:55
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.2620.1.6.123.1.41