Basic Ruckus Wireless Support

Basic device support for Ruckus Wireless devices.
This commit is contained in:
Rosiak
2015-02-16 20:14:04 +01:00
parent 03c4799d7b
commit 730caac74a
4 changed files with 41 additions and 0 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

View File

@@ -357,6 +357,15 @@ $config['os'][$os]['text'] = "ZTE ZXR10";
$config['os'][$os]['type'] = "network";
$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
$os = "supermicro-switch";

View 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";
}
}
?>

View 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") , '" ');
?>