mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added Basic Support für Enterasys Devices
This commit is contained in:
BIN
html/images/os/enterasys.png
Normal file
BIN
html/images/os/enterasys.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@@ -1182,6 +1182,14 @@ $config['os'][$os]['over'][0]['graph'] = "device_bits";
|
||||
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||
$config['os'][$os]['icon'] = "pbn";
|
||||
|
||||
// Enterasys
|
||||
$os = "enterasys";
|
||||
$config['os'][$os]['text'] = "Enterasys";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
$config['os'][$os]['over'][0]['graph'] = "device_bits";
|
||||
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||
$config['os'][$os]['icon'] = "enterasys";
|
||||
|
||||
foreach ($config['os'] as $this_os => $blah)
|
||||
{
|
||||
if (isset($config['os'][$this_os]['group']))
|
||||
|
9
includes/discovery/os/enterasys.inc.php
Normal file
9
includes/discovery/os/enterasys.inc.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match("/^Enterasys Networks/", $sysDescr)) {
|
||||
$os = "enterasys";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
8
includes/polling/os/enterasys.inc.php
Normal file
8
includes/polling/os/enterasys.inc.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
# Enterasys Networks, Inc. G3G124-24P Rev 06.03.08.0012
|
||||
|
||||
list(,,,$hardware,,$version) = explode(" ", $device['sysDescr']);
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user