mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
ewc: more WirelessSensors and processor/mempools support (#8294)
* Add Errors, NoiseFloor, RSSI, SNR and Utilization Wireless Sensors for ewc * Enable processor/mempool support for ewc using existing enterasys implementation * Add test data
This commit is contained in:
committed by
Tony Murray
parent
84b0b32bd8
commit
6c3473a7f8
9
includes/definitions/discovery/ewc.yaml
Normal file
9
includes/definitions/discovery/ewc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
mib: ENTERASYS-RESOURCE-UTILIZATION-MIB
|
||||
modules:
|
||||
processors:
|
||||
data:
|
||||
-
|
||||
oid: etsysResourceCpuLoad5min
|
||||
num_oid: '.1.3.6.1.4.1.5624.1.2.49.1.1.1.1.4.{{ $index }}'
|
||||
index: '{{ $count }}'
|
||||
precision: 10
|
||||
@@ -4,8 +4,12 @@ type: wireless
|
||||
icon: extreme
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
- { graph: device_wireless_ap-count, text: 'Connected APs' }
|
||||
- { graph: device_wireless_clients, text: 'Connected Clients' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.4329.15.1.1.
|
||||
mib_dir:
|
||||
- enterasys
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if ($device['os'] == 'enterasys') {
|
||||
if ($device['os'] == 'enterasys' || $device['os'] == 'ewc') {
|
||||
$enterasys_mem = snmpwalk_cache_threepart_oid($device, 'etsysResourceStorageTable', array(), 'ENTERASYS-RESOURCE-UTILIZATION-MIB');
|
||||
foreach ($enterasys_mem as $index => $mem_data) {
|
||||
foreach ($mem_data['ram'] as $mem_id => $ram) {
|
||||
|
||||
Reference in New Issue
Block a user