1mib: XMUX4-PLUS
2modules:
3    sensors:
4        pre-cache:
5            data:
6                -
7                    oid:
8                        - muxLeftPowerIdenti
9                        - muxRightPowerIdenti
10        temperature:
11            data:
12                -
13                    oid: muxFanTemp
14                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.4.{{ $index }}'
15                    descr: 'Fan Temperature'
16                    index: 'muxFanTemp.{{ $index }}'
17                    low_limit: -5
18                    high_limit: 55
19                    low_warn_limit: 0
20                    warn_limit: 40
21                -
22                    oid: muxInteriorTemp
23                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.5.{{ $index }}'
24                    descr: 'Internal Temperature'
25                    index: 'muxInteriorTemp.{{ $index }}'
26                    low_limit: -5
27                    high_limit: 55
28                    low_warn_limit: 0
29                    warn_limit: 40
30        voltage:
31            data:
32                -
33                    oid: muxVolt3v3
34                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.6.{{ $index }}'
35                    descr: 'Channel s 3,3 voltage'
36                    index: 'muxVolt3v3.{{ $index }}'
37                -
38                    oid: muxVolt2v5
39                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.7.{{ $index }}'
40                    descr: 'Channel s 2,5 voltage'
41                    index: 'muxVolt2v5.{{ $index }}'
42                -
43                    oid: muxVolt1v2
44                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.8.{{ $index }}'
45                    descr: 'Channel s 1,2 voltage'
46                    index: 'muxVolt1v2.{{ $index }}'
47        state:
48            data:
49                -
50                    oid: muxLeftPower
51                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.9.{{ $index }}'
52                    descr: 'Left power -  {{ $muxLeftPowerIdenti }}'
53                    index: 'muxLeftPower.{{ $index }}'
54                    state_name: muxLeftPower
55                    states:
56                        - { descr: PowerOn, graph: 0, value: 0, generic: 0 }
57                        - { descr: PowerOff, graph: 0, value: 1, generic: 2 }
58                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
59                -
60                    oid: muxRightPower
61                    value: muxRightPower
62                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.1.9.1.10.{{ $index }}'
63                    descr: 'Right power - {{ $muxRightPowerIdenti }} '
64                    index: 'muxRightPower.{{ $index }}'
65                    state_name: muxRightPower
66                    states:
67                        - { descr: PowerOn, graph: 0, value: 0, generic: 0 }
68                        - { descr: PowerOff, graph: 0, value: 1, generic: 2 }
69                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
70                -
71                    oid: channelTable
72                    value: channelPresent
73                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.3.{{ $index }}'
74                    descr: 'Channel {{ $subindex1 }} present'
75                    index: 'channelPresent.{{ $index }}'
76                    group: 'Channel {{ $subindex1 }}'
77                    state_name: channelPresent
78                    states:
79                        - { descr: Missing, graph: 0, value: 0, generic: 1 }
80                        - { descr: Present, graph: 0, value: 1, generic: 0 }
81                -
82                    oid: channelTable
83                    value: channelLocalTx
84                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.4.{{ $index }}'
85                    descr: 'Channel {{ $subindex1 }} Local TX'
86                    index: 'channelLocalTx.{{ $index }}'
87                    group: 'Channel {{ $subindex1 }}'
88                    state_name: channelLocalTx
89                    states:
90                        - { descr: Off, graph: 0, value: 0, generic: 1 }
91                        - { descr: On, graph: 0, value: 1, generic: 0 }
92                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
93                -
94                    oid: channelTable
95                    value: channelLocalRx
96                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.5.{{ $index }}'
97                    descr: 'Channel {{ $subindex1 }} Local RX'
98                    index: 'channelLocalRx.{{ $index }}'
99                    group: 'Channel {{ $subindex1 }}'
100                    state_name: channelLocalRx
101                    states:
102                        - { descr: Off, graph: 0, value: 0, generic: 1 }
103                        - { descr: On, graph: 0, value: 1, generic: 0 }
104                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
105                -
106                    oid: channelTable
107                    value: channelRemoteTx
108                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.6.{{ $index }}'
109                    descr: 'Channel {{ $subindex1 }} Remote TX'
110                    index: 'channelRemoteTx.{{ $index }}'
111                    group: 'Channel {{ $subindex1 }}'
112                    state_name: channelRemoteTx
113                    states:
114                        - { descr: Off, graph: 0, value: 0, generic: 1 }
115                        - { descr: On, graph: 0, value: 1, generic: 0 }
116                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
117                -
118                    oid: channelTable
119                    value: channelRemoteRx
120                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.7.{{ $index }}'
121                    descr: 'Channel {{ $subindex1 }} Remote RX'
122                    index: 'channelRemoteRx.{{ $index }}'
123                    group: 'Channel {{ $subindex1 }}'
124                    state_name: channelRemoteRx
125                    states:
126                        - { descr: Off, graph: 0, value: 0, generic: 1 }
127                        - { descr: On, graph: 0, value: 1, generic: 0 }
128                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
129                -
130                    oid: channelTable
131                    value: channelLocalSfpPresent
132                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.8.{{ $index }}'
133                    descr: 'Channel {{ $subindex1 }} Local SFP present'
134                    index: 'channelLocalSfpPresent.{{ $index }}'
135                    group: 'Channel {{ $subindex1 }}'
136                    state_name: channelLocalSfpPresent
137                    states:
138                        - { descr: Missing, graph: 0, value: 0, generic: 1 }
139                        - { descr: Present, graph: 0, value: 1, generic: 0 }
140                -
141                    oid: channelTable
142                    value: channelRemoteXfpPresent
143                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.9.{{ $index }}'
144                    descr: 'Channel {{ $subindex1 }} Remote XFP present'
145                    index: 'channelRemoteXfpPresent.{{ $index }}'
146                    group: 'Channel {{ $subindex1 }}'
147                    state_name: channelRemoteXfpPresent
148                    states:
149                        - { descr: Missing, graph: 0, value: 0, generic: 1 }
150                        - { descr: Present, graph: 0, value: 1, generic: 0 }
151                -
152                    oid: channelTable
153                    value: channelLocalByPass
154                    num_oid: '.1.3.6.1.4.1.29003.2.44.1.2.1.11.{{ $index }}'
155                    descr: 'Channel {{ $subindex1 }} Local bypass'
156                    index: 'channelLocalByPass.{{ $index }}'
157                    group: 'Channel {{ $subindex1 }}'
158                    state_name: channelRemoteRx
159                    states:
160                        - { descr: Off, graph: 0, value: 0, generic: 1 }
161                        - { descr: On, graph: 0, value: 1, generic: 0 }
162                        - { descr: Unknown, graph: 0, value: 8, generic: 3 }
163
164