mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #2498 from laf/issue-2496
This commit is contained in:
BIN
html/images/os/quanta.png
Normal file
BIN
html/images/os/quanta.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -528,6 +528,14 @@ $config['os'][$os]['bad_if'][] = 'cpu';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
|
||||
|
||||
//Quanta switches
|
||||
$os = 'quanta';
|
||||
$config['os'][$os]['text'] = 'Quanta';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
$config['os'][$os]['icon'] = 'quanta';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
|
||||
|
||||
$os = 'netonix';
|
||||
$config['os'][$os]['text'] = 'Netonix';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
if (!$os) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413')) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') && !stristr($sysDescr, 'vxworks')) {
|
||||
$os = 'edgeswitch';
|
||||
}
|
||||
}
|
||||
|
6
includes/discovery/os/quanta.inc.php
Normal file
6
includes/discovery/os/quanta.inc.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if (!$os) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') && stristr($sysDescr, 'vxworks')) {
|
||||
$os = 'quanta';
|
||||
}
|
||||
}
|
3
includes/polling/os/quanta.inc.php
Normal file
3
includes/polling/os/quanta.inc.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
list($hardware, $features, $version) = explode(',', $poll_device['sysDescr']);
|
Reference in New Issue
Block a user