mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
ZTE ZXR10 define discovery for mempool and processor (#13192)
* Add mibs/zte/ZXR10-MIB ZTE ZXR10 vendor-specific mibs * Update zxr10.yaml add mib_dir change top-line view like in cisco * Create zxr10.yaml define mempool and processor discovery for zxr10 * Update zxr10.yaml fix discovery.php "error in mempools module. Unable to translate oid ZXR10-MIB::zxr10SystemMemSize" * Update zxr10.yaml ZXR10-MIB::zxr10SystemMemUsed is in percent not in bytes. * zxr10.yaml :: fixed mempools data fixed mempools data * TESTS :: Add snmprec * TEST :: Add data/json * Change group from zxr10 to zte * Remove mib_dir With group: zte it works without mib_dir: zte * Rename zxr10_zxr10.json to zte_zxr10.json * Rename zxr10_zxr10.snmprec to zte_zxr10.snmprec
This commit is contained in:
parent
d496c228d4
commit
c6d2385c3a
12
includes/definitions/discovery/zxr10.yaml
Normal file
12
includes/definitions/discovery/zxr10.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
mib: ZXR10-MIB
|
||||||
|
modules:
|
||||||
|
mempools:
|
||||||
|
data:
|
||||||
|
-
|
||||||
|
total: ZXR10-MIB::zxr10SystemMemSize
|
||||||
|
percent_used: ZXR10-MIB::zxr10SystemMemUsed
|
||||||
|
processors:
|
||||||
|
data:
|
||||||
|
-
|
||||||
|
oid: zxr10SystemCpuUtility5m
|
||||||
|
num_oid: '.1.3.6.1.4.1.3902.3.3.1.1.12.{{ $index }}'
|
@ -1,8 +1,12 @@
|
|||||||
os: zxr10
|
os: zxr10
|
||||||
group: zxr10
|
group: zte
|
||||||
text: 'ZTE ZXR10'
|
text: 'ZTE ZXR10'
|
||||||
type: network
|
type: network
|
||||||
icon: zte
|
icon: zte
|
||||||
|
over:
|
||||||
|
- { graph: device_bits, text: 'Device Traffic' }
|
||||||
|
- { graph: device_processor, text: 'CPU Usage' }
|
||||||
|
- { graph: device_mempool, text: 'Memory Usage' }
|
||||||
discovery:
|
discovery:
|
||||||
-
|
-
|
||||||
sysDescr:
|
sysDescr:
|
||||||
|
3402
mibs/zte/ZXR10-MIB
Normal file
3402
mibs/zte/ZXR10-MIB
Normal file
File diff suppressed because it is too large
Load Diff
9500
tests/data/zte_zxr10.json
Normal file
9500
tests/data/zte_zxr10.json
Normal file
File diff suppressed because it is too large
Load Diff
2020
tests/snmpsim/zte_zxr10.snmprec
Normal file
2020
tests/snmpsim/zte_zxr10.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user