mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
TopVision CMTS (#9627)
* Add Device TopVision CMTS * added test data * Added Upstream Freq & SNR Sensor * Updated to snmp_getnext_multi * updated os polling to snmp_getnext
This commit is contained in:
BIN
html/images/os/sumavision.png
Normal file
BIN
html/images/os/sumavision.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
27
includes/definitions/discovery/topvision.yaml
Normal file
27
includes/definitions/discovery/topvision.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
mib: DOCS-IF-MIB
|
||||
modules:
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
- oid:
|
||||
- docsIfUpChannelId
|
||||
frequency:
|
||||
data:
|
||||
-
|
||||
oid: docsIfUpstreamChannelTable
|
||||
value: docsIfUpChannelFrequency
|
||||
num_oid: '.1.3.6.1.2.1.10.127.1.1.2.1.2.{{ $index }}'
|
||||
descr: Upstream Channel {{ $docsIfUpChannelId }}
|
||||
type: topvision
|
||||
snr:
|
||||
data:
|
||||
-
|
||||
oid: docsIfSignalQualityTable
|
||||
value: docsIfSigQSignalNoise
|
||||
divisor: 10
|
||||
num_oid: '.1.3.6.1.2.1.10.127.1.1.4.1.5.{{ $index }}'
|
||||
descr: Upstream Channel {{ $docsIfUpChannelId }}
|
||||
skip_value_lt: 1
|
||||
low_limit: 24
|
||||
high_limit: 45
|
||||
type: topvision
|
9
includes/definitions/topvision.yaml
Normal file
9
includes/definitions/topvision.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
os: topvision
|
||||
text: 'TopVision'
|
||||
type: network
|
||||
icon: sumavision
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.32285.11.
|
3
includes/polling/os/topvision.inc.php
Normal file
3
includes/polling/os/topvision.inc.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$serial = snmp_getnext($device, ".1.3.6.1.4.1.32285.11.1.1.2.1.1.1.16", "-OQv");
|
||||
$hardware = snmp_getnext($device, ".1.3.6.1.4.1.32285.11.1.1.2.1.1.1.18", "-OQv");
|
9
tests/snmpsim/topvision.snmprec
Normal file
9
tests/snmpsim/topvision.snmprec
Normal file
@@ -0,0 +1,9 @@
|
||||
1.3.6.1.2.1.1.1.0|4|CC8800D-E;hardware version:V2.2.4;software version:V2.3.0.54-C.BT;firm-Software version:430B3-V2.3.0.17BT;Chip version:BCM3218 2.44, 0.1.13, 0.2.2, 0.2.2
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.32285.11.1.1.1.4.1
|
||||
1.3.6.1.2.1.1.3.0|67|6251400
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.4.1.32285.11.1.1.2.1.1.1.16.142671872|4|1705CC8800D360039
|
||||
1.3.6.1.4.1.32285.11.1.1.2.1.1.1.18.142671872|4|V2.2.4
|
||||
1.3.6.1.6.3.10.2.1.3.0|2|62333
|
Reference in New Issue
Block a user