Skip to content

Commit 3c3e725

Browse files
authored
Stulz multi bus support in health sensors (librenms#18602)
* Update stulz.yaml Change descr to support devices connected at Bus 1 and Bus 2 * Update stulz_wib8000.json * Use unitsettingName * Update stulz_wib8000.snmprec * Update stulz_wib8000.json * Update stulz_wib8000.json * Update stulz.yaml Fix formatting * Update stulz.yaml pre-cache has been renamed to additional_oids * Update stulz.yaml Remove space
1 parent 0e3cd18 commit 3c3e725

File tree

3 files changed

+1398
-460
lines changed

3 files changed

+1398
-460
lines changed
Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
mib: Stulz-WIB8000-MIB
22
modules:
33
sensors:
4+
additional_oids:
5+
data:
6+
-
7+
oid:
8+
- Stulz-WIB8000-MIB::unitsettingName
49
state:
510
data:
611
-
712
oid: busalarm
813
value: busalarm
914
num_oid: '.1.3.6.1.4.1.29462.10.2.1.4.1.1.1.10.{{ $index }}'
1015
index: 'busalarm.{{ $index }}'
11-
descr: 'Unit {{ $subindex1 }} bus alarm'
16+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} bus alarm'
1217
states:
1318
- { descr: Ok, graph: 1, value: 0, generic: 0 }
1419
- { descr: Error, graph: 1, value: 1, generic: 2 }
@@ -17,7 +22,7 @@ modules:
1722
value: busadrconflict
1823
num_oid: '.1.3.6.1.4.1.29462.10.2.1.4.1.1.1.12.{{ $index }}'
1924
index: 'busadrconflict.{{ $index }}'
20-
descr: 'Unit {{ $subindex1 }} bus conflict'
25+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} bus conflict'
2126
states:
2227
- { descr: Ok, graph: 1, value: 0, generic: 0 }
2328
- { descr: Error, graph: 1, value: 1, generic: 2 }
@@ -26,7 +31,7 @@ modules:
2631
value: unitOnOff
2732
num_oid: '.1.3.6.1.4.1.29462.10.2.1.4.1.1.1.1013.{{ $index }}'
2833
index: 'unitOnOff.{{ $index }}'
29-
descr: 'Unit {{ $subindex1 }} running state'
34+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} running state'
3035
states:
3136
- { descr: Stopped, graph: 1, value: 0, generic: 0 }
3237
- { descr: Running, graph: 1, value: 1, generic: 0 }
@@ -35,7 +40,7 @@ modules:
3540
value: generalError
3641
num_oid: '.1.3.6.1.4.1.29462.10.2.1.4.2.1.1.8.{{ $index }}'
3742
index: 'generalError.{{ $index }}'
38-
descr: 'Unit {{ $subindex1 }} error state'
43+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} error state'
3944
states:
4045
- { descr: Ok, graph: 1, value: 0, generic: 0 }
4146
- { descr: Error, graph: 1, value: 1, generic: 2 }
@@ -44,7 +49,7 @@ modules:
4449
value: compr1Running
4550
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.1.1.1.4403.{{ $index }}'
4651
index: 'compr1Running.{{ $index }}'
47-
descr: 'Unit {{ $subindex1 }} compressor state'
52+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} compressor state'
4853
states:
4954
- { descr: Stopped, graph: 1, value: 0, generic: 0 }
5055
- { descr: Running, graph: 1, value: 1, generic: 0 }
@@ -53,7 +58,7 @@ modules:
5358
value: humidifier1Running
5459
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.3.1.1.6402.{{ $index }}'
5560
index: 'humidifier1Running.{{ $index }}'
56-
descr: 'Unit {{ $subindex1 }} humidifier state'
61+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} humidifier state'
5762
states:
5863
- { descr: Stopped, graph: 1, value: 0, generic: 0 }
5964
- { descr: Running, graph: 1, value: 1, generic: 0 }
@@ -62,7 +67,7 @@ modules:
6267
value: dehumidificationRunning
6368
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.3.1.1.6802.{{ $index }}'
6469
index: 'dehumidificationRunning.{{ $index }}'
65-
descr: 'Unit {{ $subindex1 }} dehumidification'
70+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} dehumidification'
6671
states:
6772
- { descr: Stopped, graph: 1, value: 0, generic: 0 }
6873
- { descr: Running, graph: 1, value: 1, generic: 0 }
@@ -71,7 +76,7 @@ modules:
7176
value: fan1Running
7277
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.4.1.1.6902.{{ $index }}'
7378
index: 'fan1Running.{{ $index }}'
74-
descr: 'Unit {{ $subindex1 }} fan state'
79+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} fan state'
7580
states:
7681
- { descr: Stopped, graph: 1, value: 0, generic: 0 }
7782
- { descr: Running, graph: 1, value: 1, generic: 0 }
@@ -80,85 +85,86 @@ modules:
8085
value: unitFreecoolingValve
8186
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.2.5.1.2238.{{ $index }}'
8287
index: 'unitFreecoolingValve.{{ $index }}'
83-
descr: 'Unit {{ $subindex1 }} freecool valve'
88+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} freecool valve'
8489
states:
8590
- { descr: Closed, graph: 1, value: 0, generic: 0 }
8691
- { descr: Open, graph: 1, value: 1, generic: 0 }
92+
8793
temperature:
8894
data:
8995
-
9096
oid: unitTemperature
9197
value: unitTemperature
9298
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1.1.1170.{{ $index }}'
9399
index: 'unitTemperature.{{ $index }}'
94-
descr: 'Unit {{ $subindex1 }} temp'
100+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} temp'
95101
divisor: 10
96102
-
97103
oid: unitSupplyAirTemperature
98104
value: unitSupplyAirTemperature
99105
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1.1.1193.{{ $index }}'
100106
index: 'unitSupplyAirTemperature.{{ $index }}'
101-
descr: 'Unit {{ $subindex1 }} supply temp'
107+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} supply temp'
102108
divisor: 10
103109
-
104110
oid: unitReturnAirTemperature
105111
value: unitReturnAirTemperature
106112
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1.1.1192.{{ $index }}'
107113
index: 'unitReturnAirTemperature.{{ $index }}'
108-
descr: 'Unit {{ $subindex1 }} return temp'
114+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} return temp'
109115
divisor: 10
110116
-
111117
oid: unitOutsideAirTemperature
112118
value: unitOutsideAirTemperature
113119
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1.1.1196.{{ $index }}'
114120
index: 'unitOutsideAirTemperature.{{ $index }}'
115-
descr: 'Unit {{ $subindex1 }} outside air temp'
121+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} outside air temp'
116122
divisor: 10
117123
-
118124
oid: unitWaterInTemperature1
119125
value: unitWaterInTemperature1
120126
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1191.{{ $index }}'
121127
index: 'unitWaterInTemperature1.{{ $index }}'
122-
descr: 'Unit {{ $subindex1 }} Water In Temperature Primary'
128+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water In Temperature Primary'
123129
divisor: 10
124130
group: Water In Temperature Primary
125131
-
126132
oid: Stulz-WIB8000-MIB::unitSetpointAirTratureCorrected
127133
value: Stulz-WIB8000-MIB::unitSetpointAirTratureCorrected
128134
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1.1.1175.{{ $index }}'
129-
descr: 'Unit {{ $subindex1 }} Setpoint Air Temperature'
135+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Setpoint Air Temperature'
130136
index: 'unitSetpointAirTratureCorrected.{{ $index }}'
131137
divisor: 10
132138
group: Air Setpoint
133139
-
134140
oid: Stulz-WIB8000-MIB::waterInTemperatu1ChillersPrimary
135141
value: Stulz-WIB8000-MIB::waterInTemperatu1ChillersPrimary
136142
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1191.{{ $index }}'
137-
descr: 'Unit {{ $subindex1 }} Water In Temperature Primary'
143+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water In Temperature Primary'
138144
index: 'waterInTemperatu1ChillersPrimary.{{ $index }}'
139145
divisor: 10
140146
group: Water In Temperature Primary
141147
-
142148
oid: Stulz-WIB8000-MIB::waterInTemperatuhillersSecondary
143149
value: Stulz-WIB8000-MIB::waterInTemperatuhillersSecondary
144150
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1202.{{ $index }}'
145-
descr: 'Unit {{ $subindex1 }} Water In Temperature Secondary'
151+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water In Temperature Secondary'
146152
index: 'waterInTemperatuhillersSecondary.{{ $index }}'
147153
divisor: 10
148154
group: Water In Temperature Secondary
149155
-
150156
oid: Stulz-WIB8000-MIB::waterOutTemperatChillersPrimary
151157
value: Stulz-WIB8000-MIB::waterOutTemperatChillersPrimary
152158
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1206.{{ $index }}'
153-
descr: 'Unit {{ $subindex1 }} Water Out Temperature Primary'
159+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water Out Temperature Primary'
154160
index: 'waterOutTemperatChillersPrimary.{{ $index }}'
155161
divisor: 10
156162
group: Water Out Temperature Primary
157163
-
158164
oid: Stulz-WIB8000-MIB::waterOutTemperatillersSecondary
159165
value: Stulz-WIB8000-MIB::waterOutTemperatillersSecondary
160166
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1207.{{ $index }}'
161-
descr: 'Unit {{ $subindex1 }} Water Out Temperature Secondary'
167+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water Out Temperature Secondary'
162168
index: 'waterOutTemperatillersSecondary.{{ $index }}'
163169
divisor: 10
164170
group: Water Out Temperature Secondary
@@ -170,112 +176,115 @@ modules:
170176
value: unitHumidity
171177
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.2.1.1.1171.{{ $index }}'
172178
index: 'unitHumidity.{{ $index }}'
173-
descr: 'Unit {{ $subindex1 }} humidity'
179+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} humidity'
174180
divisor: 10
175181
-
176182
oid: unitSupplyAirHumidity
177183
value: unitSupplyAirHumidity
178184
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.2.1.1.1195.{{ $index }}'
179185
index: 'unitSupplyAirHumidity.{{ $index }}'
180-
descr: 'Unit {{ $subindex1 }} supply humidity'
186+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} supply humidity'
181187
divisor: 10
182188
group: Supply Air
183189
-
184190
oid: unitReturnAirHumidity
185191
value: unitReturnAirHumidity
186192
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.2.1.1.1194.{{ $index }}'
187193
index: 'unitReturnAirHumidity.{{ $index }}'
188-
descr: 'Unit {{ $subindex1 }} return humidity'
194+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} return humidity'
189195
divisor: 10
190196
group: Return Air
191197
-
192198
oid: Stulz-WIB8000-MIB::unitSetpointHumidityCorrected
193199
value: Stulz-WIB8000-MIB::unitSetpointHumidityCorrected
194200
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.1.2.1.1.1178.{{ $index }}'
195-
descr: 'Unit {{ $subindex1 }} Setpoint Humidity'
201+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Setpoint Humidity'
196202
index: 'unitSetpointHumidityCorrected.{{ $index }}'
197203
divisor: 10
198204
group: Humidity Setpoint
205+
199206
pressure:
200207
data:
201208
-
202209
oid: unitCondensationPressure1
203210
value: unitCondensationPressure1
204211
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.3.1.1.2235.{{ $index }}'
205212
index: 'unitCondensationPressure1.{{ $index }}'
206-
descr: 'Unit {{ $subindex1 }} condensation pressure'
213+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} condensation pressure'
207214
multiplier: 10
208215
-
209216
oid: filter1PressureDrop
210217
value: filter1PressureDrop
211218
num_oid: '.1.3.6.1.4.1.29462.10.2.1.2.2.4.6.1.1.11009.{{ $index }}'
212219
index: 'filter1PressureDrop.{{ $index }}'
213-
descr: 'Unit {{ $subindex1 }} filter 1 pressure drop'
220+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} filter 1 pressure drop'
214221
divisor: 1000
215222
-
216223
oid: filter2PressureDrop
217224
value: filter2PressureDrop
218225
num_oid: '.1.3.6.1.4.1.29462.10.2.1.2.2.4.6.1.1.11109.{{ $index }}'
219226
index: 'filter2PressureDrop.{{ $index }}'
220-
descr: 'Unit {{ $subindex1 }} filter 2 pressure drop'
227+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} filter 2 pressure drop'
221228
divisor: 1000
222229
-
223230
oid: filter3PressureDrop
224231
value: filter3PressureDrop
225232
num_oid: '.1.3.6.1.4.1.29462.10.2.1.2.2.4.6.1.1.11209.{{ $index }}'
226233
index: 'filter3PressureDrop.{{ $index }}'
227-
descr: 'Unit {{ $subindex1 }} filter 3 pressure drop'
234+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} filter 3 pressure drop'
228235
divisor: 1000
236+
229237
percent:
230238
data:
231239
-
232240
oid: fan1Speed
233241
value: fan1Speed
234242
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.4.1.1.6932.{{ $index }}'
235243
index: 'fan1Speed.{{ $index }}'
236-
descr: 'Unit {{ $subindex1 }} fan speed'
244+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} fan speed'
237245
-
238246
oid: gValveOpeningGrade
239247
value: gValveOpeningGrade
240248
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.2.5.1.5312.{{ $index }}'
241249
index: 'gValveOpeningGrade.{{ $index }}'
242-
descr: 'Unit {{ $subindex1 }} gValve grade'
250+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} gValve grade'
243251
-
244252
oid: Stulz-WIB8000-MIB::unitFreecoolingValve
245253
value: Stulz-WIB8000-MIB::unitFreecoolingValve
246254
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.2.5.1.2238.{{ $index }}'
247255
index: 'unitFreecoolingValve.{{ $index }}'
248-
descr: 'Unit {{ $subindex1 }} Freecooling Valve Opening'
256+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Freecooling Valve Opening'
249257
group: Free Cooling
250258
-
251259
oid: Stulz-WIB8000-MIB::gECWValveOpeningGrade1
252260
value: Stulz-WIB8000-MIB::gECWValveOpeningGrade1
253261
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.2.2.1.1.5214.{{ $index }}'
254262
index: 'gECWValveOpeningGrade1.{{ $index }}'
255-
descr: 'Unit {{ $subindex1 }} GE/CW Valve 1 Opening'
263+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} GE/CW Valve 1 Opening'
256264
group: GE/CW Valve 1
257265
-
258266
oid: Stulz-WIB8000-MIB::gECWValveOpeningGrade2
259267
value: Stulz-WIB8000-MIB::gECWValveOpeningGrade2
260268
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.2.1.2.2.1.1.5224.{{ $index }}'
261269
index: 'gECWValveOpeningGrade2.{{ $index }}'
262-
descr: 'Unit {{ $subindex1 }} GE/CW Valve 2 Opening'
270+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} GE/CW Valve 2 Opening'
263271
group: GE/CW Valve 2
272+
264273
waterflow:
265274
data:
266275
-
267276
oid: Stulz-WIB8000-MIB::waterFlowVolume
268277
value: Stulz-WIB8000-MIB::waterFlowVolume
269278
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1249.{{ $index }}'
270279
index: 'waterFlowVolume.{{ $index }}'
271-
descr: 'Unit {{ $subindex1 }} Water Flow Volume'
280+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water Flow Volume'
272281
multiplier: 50 #Multiply and divide to generate a multiplier of 16.66667
273282
divisor: 3
274283
-
275284
oid: Stulz-WIB8000-MIB::waterFlowVolumeB
276285
value: Stulz-WIB8000-MIB::waterFlowVolumeB
277286
num_oid: '.1.3.6.1.4.1.29462.10.2.1.1.1.2.1.1.1740.{{ $index }}'
278287
index: 'waterFlowVolumeB.{{ $index }}'
279-
descr: 'Unit {{ $subindex1 }} Water Flow Volume B'
288+
descr: 'Unit {{ Stulz-WIB8000-MIB::unitsettingName:0-1 }} Water Flow Volume B'
280289
multiplier: 50 #Multiply and divide to generate a multiplier of 16.66667
281290
divisor: 3

0 commit comments

Comments
 (0)