mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Basic Siklu detection
This commit is contained in:
@@ -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";
|
||||
|
21
includes/discovery/os/siklu.inc.php
Normal file
21
includes/discovery/os/siklu.inc.php
Normal 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';
|
||||
}
|
||||
|
||||
?>
|
16
includes/polling/os/siklu.inc.php
Normal file
16
includes/polling/os/siklu.inc.php
Normal 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'];
|
Reference in New Issue
Block a user