mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added WUT Humidity and Temperature Sensors (#11053)
* Added WUT 57606,57613,57720 * Added os wut-* * fixed MIB Names and try to generalize wut * more general sysObjectID mapping, and mib directory * Delete WUT-57606-MIB * Delete WUT-57613-MIB * Delete WUT-57720-MIB * Rename wut-57613.snmprec to wut_57613.snmprec * Rename wut-57720.snmprec to wut_57720.snmprec * Rename wut-57606.snmprec to wut_57606.snmprec * Delete wut-57606.yaml * Delete wut-57720.yaml * Delete wut-57613.yaml * Delete wut-57606.yaml * Delete wut-57720.yaml * Delete wut-57613.yaml * Update wut.yaml * Try to correct the Temperature part This should work for temperature, according to MIB. Pressure and Humidity are not described in this mibfile, so we cannot poll them. * change wut.yaml * Add and fix wut_57720 * after ./scripts/save-test-data.php ? * Add test data Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
71
includes/definitions/discovery/wut.yaml
Normal file
71
includes/definitions/discovery/wut.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
mib: WebGraph-Thermo-Hygrometer-MIB:WebGraph-Thermo-Hygro-Barometer-MIB:WebGraph-Thermo-Hygrometer-US-MIB
|
||||
modules:
|
||||
sensors:
|
||||
temperature:
|
||||
options:
|
||||
divisor: 10
|
||||
data:
|
||||
-
|
||||
oid: wtWebGraphThermHygro
|
||||
value: wtWebGraphThermHygroBinaryTempValue
|
||||
num_oid: '.1.3.6.1.4.1.5040.1.2.9.1.4.1.1.{{ $index }}'
|
||||
descr: wtWebGraphThermHygroPortName
|
||||
index: wtWebGraphThermHygroSensorNo.{{ $index }}
|
||||
skip_values:
|
||||
-
|
||||
oid: wtWebGraphThermHygroPortName
|
||||
op: 'not_contains'
|
||||
value: 'Temp'
|
||||
-
|
||||
oid: wtWebGraphThermoHygro
|
||||
value: wtWebGraphThermoHygroBinaryTempValue
|
||||
num_oid: '.1.3.6.1.4.1.5040.1.2.42.1.4.1.1.{{ $index }}'
|
||||
descr: wtWebGraphThermoHygroPortName
|
||||
index: wtWebGraphThermoHygroSensorNo.{{ $index }}
|
||||
skip_values:
|
||||
-
|
||||
oid: wtWebGraphThermoHygroPortName
|
||||
op: 'not_contains'
|
||||
value: 'Temp'
|
||||
humidity:
|
||||
options:
|
||||
divisor: 10
|
||||
data:
|
||||
-
|
||||
oid: wtWebGraphThermHygro
|
||||
value: wtWebGraphThermHygroBinaryTempValue
|
||||
num_oid: '.1.3.6.1.4.1.5040.1.2.9.1.4.1.1.{{ $index }}'
|
||||
descr: wtWebGraphThermHygroPortName
|
||||
index: wtWebGraphThermHygroSensorNo.{{ $index }}
|
||||
skip_values:
|
||||
-
|
||||
oid: wtWebGraphThermHygroPortName
|
||||
op: 'not_contains'
|
||||
value: 'Feucht'
|
||||
-
|
||||
oid: wtWebGraphThermoHygro
|
||||
value: wtWebGraphThermoHygroBinaryTempValue
|
||||
num_oid: '.1.3.6.1.4.1.5040.1.2.9.1.4.1.1.{{ $index }}'
|
||||
descr: wtWebGraphThermoHygroPortName
|
||||
index: wtWebGraphThermoHygroSensorNo.{{ $index }}
|
||||
skip_values:
|
||||
-
|
||||
oid: wtWebGraphThermoHygroPortName
|
||||
op: 'not_contains'
|
||||
value: 'Feucht'
|
||||
pressure:
|
||||
options:
|
||||
divisor: 100
|
||||
data:
|
||||
-
|
||||
oid: wtWebGraphThermoBaro
|
||||
value: wtWebGraphThermoBaroBinaryTempValue
|
||||
num_oid: '.1.3.6.1.4.1.5040.1.2.16.1.4.1.1.{{ $index }}'
|
||||
descr: wtWebGraphThermoBaroPortName
|
||||
index: wtWebGraphThermoBaroSensorNo.{{ $index }}
|
||||
skip_values:
|
||||
-
|
||||
oid: wtWebGraphThermoBaroPortName
|
||||
op: 'not_contains'
|
||||
value: 'druck'
|
||||
|
11
includes/definitions/wut.yaml
Normal file
11
includes/definitions/wut.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
os: wut
|
||||
text: 'Web-Thermo-Hygrometer'
|
||||
type: environment
|
||||
icon: wut
|
||||
mib_dir:
|
||||
- wut
|
||||
over:
|
||||
- { graph: device_temperature, text: Temperature }
|
||||
- { graph: device_humidity, text: Humidity }
|
||||
discovery:
|
||||
- sysObjectID: .1.3.6.1.4.1.5040.1.2.
|
Reference in New Issue
Block a user