mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Basic Ruckus Wireless Support
Basic device support for Ruckus Wireless devices.
This commit is contained in:
BIN
html/images/os/ruckus.png
Normal file
BIN
html/images/os/ruckus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 854 B |
@@ -357,6 +357,15 @@ $config['os'][$os]['text'] = "ZTE ZXR10";
|
|||||||
$config['os'][$os]['type'] = "network";
|
$config['os'][$os]['type'] = "network";
|
||||||
$config['os'][$os]['icon'] = "zte";
|
$config['os'][$os]['icon'] = "zte";
|
||||||
|
|
||||||
|
// Ruckus Wireless
|
||||||
|
|
||||||
|
$os = "ruckuswireless";
|
||||||
|
$config['os'][$os]['text'] = "Ruckus Wireless";
|
||||||
|
$config['os'][$os]['type'] = "wireless";
|
||||||
|
$config['os'][$os]['icon'] = "ruckus";
|
||||||
|
$config['os'][$os]['over'][0]['graph'] = "device_bits";
|
||||||
|
$config['os'][$os]['over'][0]['text'] = "Traffic";
|
||||||
|
|
||||||
// Supermicro Switch
|
// Supermicro Switch
|
||||||
|
|
||||||
$os = "supermicro-switch";
|
$os = "supermicro-switch";
|
||||||
|
17
includes/discovery/os/ruckuswireless.inc.php
Normal file
17
includes/discovery/os/ruckuswireless.inc.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* LibreNMS Ruckus Wireless OS information module
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||||
|
* 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. Please see LICENSE.txt at the top level of
|
||||||
|
* the source code distribution for details.
|
||||||
|
*/
|
||||||
|
if (!$os) {
|
||||||
|
if (strstr($sysObjectId, ".1.3.6.1.4.1.25053.3.1.4")) {
|
||||||
|
$os = "ruckuswireless";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
15
includes/polling/os/ruckuswireless.inc.php
Normal file
15
includes/polling/os/ruckuswireless.inc.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* LibreNMS Ruckus Wireless OS information module
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||||
|
* 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. Please see LICENSE.txt at the top level of
|
||||||
|
* the source code distribution for details.
|
||||||
|
*/
|
||||||
|
$hardware = trim(snmp_get($device, ".1.3.6.1.4.1.25053.1.1.2.1.1.1.1.0", "-Ovq") , '" ');
|
||||||
|
$version = trim(snmp_get($device, ".1.3.6.1.4.1.25053.1.1.3.1.1.1.1.1.3.1", "-Ovq") , '" ');
|
||||||
|
$serial = trim(snmp_get($device, ".1.3.6.1.4.1.25053.1.1.2.1.1.1.2.0", "-Ovq") , '" ');
|
||||||
|
?>
|
Reference in New Issue
Block a user