Basic Siklu detection

This commit is contained in:
laf
2015-04-21 11:36:21 +01:00
parent c698204d8a
commit 602d08b05e
3 changed files with 45 additions and 0 deletions

View File

@@ -417,6 +417,14 @@ $config['os'][$os]['icon'] = "ruckus";
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Traffic";
// Siklu Wireless
$os = "siklu";
$config['os'][$os]['text'] = "Siklu Wireless";
$config['os'][$os]['type'] = "wireless";
$config['os'][$os]['icon'] = "siklu";
$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,21 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa>
*
* 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.
*/
$entPhysicalMfgName = snmp_get($device, "ENTITY-MIB::entPhysicalMfgName.1", "-Osqnv");
if ($entPhysicalMfgName == 'Siklu') {
$os = 'siklu';
}
?>

View File

@@ -0,0 +1,16 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa>
*
* 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.
*/
$version = snmp_get($device, "rbSwBank1Version.0", "-Osqnv", "+RADIO-BRIDGE-MIB");
$hardware = $poll_device['sysDescr'];