Added detection for Bintec smart routers

This commit is contained in:
laf
2016-05-02 12:24:31 +00:00
parent 7217b4140b
commit e19e223ef5
4 changed files with 30 additions and 0 deletions

BIN
html/images/os/bintec.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -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';

View 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';
}
}

View File

@@ -0,0 +1,3 @@
<?php
$hardware = $poll_device['sysDescr'];