mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added detection for Bintec smart routers
This commit is contained in:
BIN
html/images/os/bintec.png
Normal file
BIN
html/images/os/bintec.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -708,6 +708,17 @@ $config['os'][$os]['over'][1]['text'] = 'CPU Usage';
|
||||
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
|
||||
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
|
||||
|
||||
$os = 'bintec-smart';
|
||||
$config['os'][$os]['text'] = 'Bintec Smart Router';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
$config['os'][$os]['icon'] = 'bintec';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
|
||||
$config['os'][$os]['over'][1]['graph'] = 'device_fortigate_cpu';
|
||||
$config['os'][$os]['over'][1]['text'] = 'CPU Usage';
|
||||
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
|
||||
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
|
||||
|
||||
$os = 'ironware';
|
||||
$config['os'][$os]['text'] = 'Brocade IronWare';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
|
||||
16
includes/discovery/os/bintec-smart.inc.php
Normal file
16
includes/discovery/os/bintec-smart.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2016 Neil Lathwood <neil@lathwood.co.uk>
|
||||
* 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 (strpos($sysObjectId, '1.3.6.1.4.1.272.4.201.82.78.79.48') !== false) {
|
||||
$os = 'bintec-smart';
|
||||
}
|
||||
}
|
||||
3
includes/polling/os/bintec-smart.inc.php
Normal file
3
includes/polling/os/bintec-smart.inc.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
$hardware = $poll_device['sysDescr'];
|
||||
Reference in New Issue
Block a user