mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Improve Checkpoint Discovery (#5334)
This commit is contained in:
committed by
Neil Lathwood
parent
e552bb4a95
commit
19a92fdbfc
@@ -9,4 +9,4 @@ over:
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.2620.1.6.123.1.49
|
||||
- .1.3.6.1.4.1.2620.1.6.123.1
|
||||
|
@@ -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.3375.2.1', // F5
|
||||
'.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)) {
|
||||
|
@@ -634,6 +634,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
public function testGaia()
|
||||
{
|
||||
$this->checkOS('gaia');
|
||||
$this->checkOS('gaia', 'gaia1');
|
||||
}
|
||||
|
||||
public function testGamatronicups()
|
||||
|
2
tests/snmpsim/gaia1.snmprec
Normal file
2
tests/snmpsim/gaia1.snmprec
Normal 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
|
Reference in New Issue
Block a user