mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Added Basic Support für Enterasys Devices
This commit is contained in:
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]['over'][0]['text'] = "Device Traffic";
|
||||||
$config['os'][$os]['icon'] = "pbn";
|
$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)
|
foreach ($config['os'] as $this_os => $blah)
|
||||||
{
|
{
|
||||||
if (isset($config['os'][$this_os]['group']))
|
if (isset($config['os'][$this_os]['group']))
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (!$os) {
|
||||||
|
if (preg_match("/^Enterasys Networks/", $sysDescr)) {
|
||||||
|
$os = "enterasys";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -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