newdevice: Added support for Ericsson ES devices #5195 (#5479)

* newdevice: Added support for Ericsson ES devices #5195

* removed logo

* s/2016/2017/
This commit is contained in:
Neil Lathwood
2017-01-20 14:27:22 +00:00
committed by Tony Murray
parent a9a02a0f80
commit 376323f00e
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,9 @@
os: ericsson-es
text: Ericsson iPECS ES
type: network
icon: ericsson
over:
- { graph: device_bits, text: 'Device Traffic' }
discovery:
- sysObjectId:
- .1.3.6.1.4.1.572.17389.204

View File

@ -0,0 +1,28 @@
<?php
/**
* ericsson-es.inc.php
*
* LibreNMS os polling module for Ericsson ES
*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
list ($hardware, $dump) = explode(' ', $poll_device['sysDescr'], 2);
unset($dump);

View File

@ -563,6 +563,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('equallogic');
}
public function testEricssonES()
{
$this->checkOS('ericsson-es');
}
public function testExtremeware()
{
$this->checkOS('extremeware');

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|ES-3050 Managed FE Switch
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.572.17389.204