Skip to content

Commit a2b91d2

Browse files
authored
Adding iqnos OS support (librenms#17578)
* adding iqnos OS support * deleting span_loss sensor * leftovers * test data * fixing format for sysObjectId * fixing test data * fixing test data * fixing test data again * fixing yaml formatting * fixing yaml formatting
1 parent 509d83e commit a2b91d2

File tree

11 files changed

+68590
-0
lines changed

11 files changed

+68590
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
mib: INFINERA-ENTITY-CHASSIS-MIB:INFINERA-PM-BANDCTP-MIB:IF-MIB:INFINERA-PM-OSCCTP-MIB:INFINERA-PM-SCHCTP-MIB
2+
modules:
3+
sensors:
4+
pre-cache:
5+
data:
6+
-
7+
oid:
8+
- ifName
9+
temperature:
10+
data:
11+
-
12+
oid: INFINERA-ENTITY-CHASSIS-MIB::chassisTable
13+
value: INFINERA-ENTITY-CHASSIS-MIB::chassisInletTemperature
14+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.1.13.1.1.9.{{ $index }}'
15+
descr: 'Chassis {{ $index }} Inlet'
16+
index: 'chassisInletTemperature.{{ $index }}'
17+
18+
dbm:
19+
data:
20+
-
21+
oid: INFINERA-PM-BANDCTP-MIB::bandCtpPmRealTable
22+
value: INFINERA-PM-BANDCTP-MIB::bandCtpPmRealBandOptTx
23+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.1.1.1.9.{{ $index }}'
24+
descr: '{{ $ifName }} Band-C optical power transmitted'
25+
index: 'bandCtpPmRealBandOptTx.{{ $index }}'
26+
entPhysicalIndex: '{{ $index }}'
27+
entPhysicalIndex_measured: 'ports'
28+
group: '{{ $ifName }}'
29+
-
30+
oid: INFINERA-PM-BANDCTP-MIB::bandCtpPmRealTable
31+
value: INFINERA-PM-BANDCTP-MIB::bandCtpPmRealBandOpr
32+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.1.1.1.3.{{ $index }}'
33+
descr: '{{ $ifName }} Band-C Optical Power Received'
34+
index: 'bandCtpPmRealBandOpr.{{ $index }}'
35+
entPhysicalIndex: '{{ $index }}'
36+
entPhysicalIndex_measured: 'ports'
37+
group: '{{ $ifName }}'
38+
-
39+
oid: INFINERA-PM-OSCCTP-MIB::oscCtpPmRealTable
40+
value: INFINERA-PM-OSCCTP-MIB::oscCtpPmRealOscOPT
41+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.10.1.1.2.{{ $index }}'
42+
descr: '{{ $ifName }} OSC Optical Power Transmitted'
43+
index: 'oscCtpPmRealOscOPT.{{ $index }}'
44+
entPhysicalIndex: '{{ $index }}'
45+
entPhysicalIndex_measured: 'ports'
46+
group: '{{ $ifName }}'
47+
divisor: 100
48+
-
49+
oid: INFINERA-PM-OSCCTP-MIB::oscCtpPmRealTable
50+
value: INFINERA-PM-OSCCTP-MIB::oscCtpPmRealOscOPR
51+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.10.1.1.3.{{ $index }}'
52+
descr: '{{ $ifName }} OSC Optical Power Received'
53+
index: 'oscCtpPmRealOscOPR.{{ $index }}'
54+
entPhysicalIndex: '{{ $index }}'
55+
entPhysicalIndex_measured: 'ports'
56+
group: '{{ $ifName }}'
57+
divisor: 100
58+
-
59+
oid: INFINERA-PM-SCHCTP-MIB::schCtpPmRealTable
60+
value: INFINERA-PM-SCHCTP-MIB::schCtpPmRealSchOpt
61+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.38.1.1.4.{{ $index }}'
62+
descr: '{{ $ifName }} SCH Optical Power Transmitted'
63+
index: 'schCtpPmRealSchOpt.{{ $index }}'
64+
entPhysicalIndex: '{{ $index }}'
65+
entPhysicalIndex_measured: 'ports'
66+
group: '{{ $ifName }}'
67+
divisor: 100
68+
-
69+
oid: INFINERA-PM-SCHCTP-MIB::schCtpPmRealTable
70+
value: INFINERA-PM-SCHCTP-MIB::schCtpPmRealSchOpr
71+
num_oid: '.1.3.6.1.4.1.21296.2.2.2.3.38.1.1.7.{{ $index }}'
72+
descr: '{{ $ifName }} SCH Optical Power Received'
73+
index: 'schCtpPmRealSchOpr.{{ $index }}'
74+
entPhysicalIndex: '{{ $index }}'
75+
entPhysicalIndex_measured: 'ports'
76+
group: '{{ $ifName }}'
77+
divisor: 100

includes/definitions/iqnos.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
os: iqnos
2+
text: 'Infinera IQNOS'
3+
type: network
4+
icon: infinera
5+
mib_dir: iqnos
6+
7+
over:
8+
- { graph: device_temperature, text: 'Device Temperature' }
9+
discovery:
10+
- sysObjectID: .1.3.6.1.4.1.21296

0 commit comments

Comments
 (0)