mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* feature: Added ability specify options for sensors yaml discovery * travis fix for new line + skip_values_* -> skip_value_*
84 lines
3.8 KiB
YAML
84 lines
3.8 KiB
YAML
mib: NETBOTZV2-MIB
|
|
modules:
|
|
sensors:
|
|
airflow:
|
|
data:
|
|
-
|
|
oid: airFlowSensorTable
|
|
value: airFlowSensorValue
|
|
divisor: 10
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.1.5.1.2.
|
|
descr: airFlowSensorLabel
|
|
index: 'airFlowSensorValue.{{ $index }}'
|
|
temperature:
|
|
data:
|
|
-
|
|
oid: dewPointSensorTable
|
|
value: dewPointSensorValue
|
|
divisor: 10
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.1.3.1.2.
|
|
descr: dewPointSensorLabel
|
|
index: 'dewPointSensorValue.{{ $index }}'
|
|
-
|
|
oid: tempSensorTable
|
|
value: tempSensorValueInt
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.1.1.1.8.
|
|
descr: tempSensorLabel
|
|
index: '{{ $index }}'
|
|
humidity:
|
|
data:
|
|
-
|
|
oid: humiSensorTable
|
|
value: humiSensorValue
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.1.2.1.8.
|
|
descr: humiSensorLabel
|
|
index: '{{ $index }}'
|
|
state:
|
|
data:
|
|
-
|
|
oid: dryContactSensorTable
|
|
value: dryContactSensorValue
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.2.1.1.2.
|
|
descr: dryContactSensorLabel
|
|
index: 'dryContactSensor.{{ $index }}'
|
|
state_name: dryContactSensor
|
|
states:
|
|
- { descr: 'null', graph: 0, value: -1, generic: 3 }
|
|
- { descr: open, graph: 0, value: 0, generic: 0 }
|
|
- { descr: closed, graph: 0, value: 1, generic: 2 }
|
|
-
|
|
oid: doorSwitchSensorTable
|
|
value: doorSwitchSensorValue
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.2.2.1.2.
|
|
descr: doorSwitchSensorLabel
|
|
index: 'doorSwitchSensor.{{ $index }}'
|
|
state_name: doorSwitchSensor
|
|
states:
|
|
- { descr: 'null', graph: 0, value: -1, generic: 3 }
|
|
- { descr: open, graph: 0, value: 0, generic: 0 }
|
|
- { descr: closed, graph: 0, value: 1, generic: 2 }
|
|
-
|
|
oid: cameraMotionSensorTable
|
|
value: cameraMotionSensorValue
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.2.3.1.2.
|
|
descr: cameraMotionSensorLabel
|
|
index: 'cameraMotionSensor.{{ $index }}'
|
|
state_name: cameraMotionSensor
|
|
states:
|
|
- { descr: 'null', graph: 0, value: -1, generic: 3 }
|
|
- { descr: noMotion, graph: 0, value: 0, generic: 0 }
|
|
- { descr: motionDetected, graph: 0, value: 1, generic: 2 }
|
|
-
|
|
oid: otherStateSensorTable
|
|
value: otherStateSensorErrorStatus
|
|
num_oid: .1.3.6.1.4.1.5528.100.4.2.10.1.3.
|
|
descr: otherStateSensorLabel
|
|
index: '{{ $index }}'
|
|
state_name: otherStateSensorErrorStatus
|
|
states:
|
|
- { descr: normal, graph: 0, value: 0, generic: 0 }
|
|
- { descr: info, graph: 0, value: 1, generic: 1 }
|
|
- { descr: warning, graph: 0, value: 2, generic: 1 }
|
|
- { descr: error, graph: 0, value: 3, generic: 2 }
|
|
- { descr: critical, graph: 0, value: 4, generic: 2 }
|
|
- { descr: failure, graph: 0, value: 5, generic: 2 } |