Added Basic Support für Enterasys Devices

This commit is contained in:
vitalisator
2015-06-08 14:27:33 +02:00
parent aa6ffa137b
commit 267f07e1b2
4 changed files with 25 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -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']))

View File

@@ -0,0 +1,9 @@
<?php
if (!$os) {
if (preg_match("/^Enterasys Networks/", $sysDescr)) {
$os = "enterasys";
}
}
?>

View File

@@ -0,0 +1,8 @@
<?php
# Enterasys Networks, Inc. G3G124-24P Rev 06.03.08.0012
list(,,,$hardware,,$version) = explode(" ", $device['sysDescr']);
?>