Add device: Edge-Core switch ES3528M

This commit is contained in:
Bartosz Radwan
2016-09-22 17:04:14 +02:00
parent 819cf8377f
commit 71b46ca87c
5 changed files with 13690 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+13
View File
@@ -2135,6 +2135,19 @@ $config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
// Edge-Core
$os = 'edge-core';
$config['os'][$os]['text'] = 'Edge-Core';
$config['os'][$os]['type'] = 'network';
$config['os'][$os]['ifname'] = 1;
$config['os'][$os]['icon'] = 'edge-core';
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$config['os'][$os]['over'][1]['graph'] = 'device_processor';
$config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
// Graph Types
require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php';
+7
View File
@@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.259.6.10.94')) {
$os = 'edge-core';
}
}
+6
View File
@@ -0,0 +1,6 @@
<?
$version = trim(snmp_get($device, "swOpCodeVer.1", "-OQv", "ES3528MO-MIB"),'"');
$hardware = "Edge-Core " . trim(snmp_get($device, "swProdName.0", "-OQv", "ES3528MO-MIB"),'"');
$hostname = trim(snmp_get($device, "sysName.0", "-OQv", "SNMPv2-MIB"),'"');
+13664
View File
File diff suppressed because it is too large Load Diff