mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Basic Fujitsu DX Support #5260
This commit is contained in:
committed by
Neil Lathwood
parent
c091761770
commit
1f7c462941
10
includes/definitions/fujitsueternusos.yaml
Normal file
10
includes/definitions/fujitsueternusos.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
os: fujitsueternusos
|
||||
text: Fujitsu ETERNUS
|
||||
type: storage
|
||||
icon: fujitsu
|
||||
mib_dir:
|
||||
- fujitsu
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
21
includes/discovery/os/fujitsueternusos.inc.php
Normal file
21
includes/discovery/os/fujitsueternusos.inc.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2017 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||
* 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.
|
||||
*/
|
||||
|
||||
$eternus = array(
|
||||
'.1.3.6.1.4.1.211.1.21.1.150'
|
||||
);
|
||||
|
||||
if (starts_with($sysObjectId, $eternus)) {
|
||||
$os = 'fujitsueternusos';
|
||||
}
|
||||
|
||||
unset($eternus);
|
8750
mibs/fujitsu/FJDARY-E150
Executable file
8750
mibs/fujitsu/FJDARY-E150
Executable file
File diff suppressed because it is too large
Load Diff
@ -610,6 +610,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
$this->checkOS('fujitsupyos', 'fujitsupyos-10gbe');
|
||||
}
|
||||
|
||||
public function testFujitsueternusos()
|
||||
{
|
||||
$this->checkOS('fujitsueternusos');
|
||||
}
|
||||
|
||||
public function testFxos()
|
||||
{
|
||||
$this->checkOS('fxos');
|
||||
|
1
tests/snmpsim/fujitsueternusos.snmprec
Normal file
1
tests/snmpsim/fujitsueternusos.snmprec
Normal file
@ -0,0 +1 @@
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.211.1.21.1.150
|
Reference in New Issue
Block a user