newdevice: Added detection for Alvarion Breeze units (#6526)

This commit is contained in:
Neil Lathwood 2017-04-29 16:56:17 +01:00 committed by Daniel Preussker
parent 14fd57bd57
commit cf026659cb
9 changed files with 13734 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
html/images/os/alvarion.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

View File

@ -0,0 +1,11 @@
os: breeze
text: Alvarion Breeze
type: wireless
icon: alvarion
over:
- { graph: device_bits, text: 'Device Traffic' }
mib_dir:
- alvarion
discovery:
- sysObjectId:
- .1.3.6.1.4.1.12394.4.

View File

@ -0,0 +1,26 @@
<?php
/**
* breeze.inc.php
*
* LibreNMS os poller module for Alvarion Breeze
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
$version = trim(snmp_get($device, 'brzaccVLRunningSoftwareVersion.0', '-Oqv', 'ALVARION-DOT11-WLAN-MIB'), '"');

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6053
mibs/alvarion/BWA-DOT11-WLAN-MIB Executable file

File diff suppressed because it is too large Load Diff

View File

@ -358,6 +358,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('bnt', 'bnt1');
}
public function testBreeze()
{
$this->checkOS('breeze');
}
public function testBrother()
{
$this->checkOS('brother');

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Alvarion - BreezeNet B , Version: 4.0.24 (Date: Jul 03 2006, 15:31:42)
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.12394.4.1.33