merge enviromux-micro in existing NTI (#13696)

* initial support for enviromux-micro

* merge MICRO to existing NTI
This commit is contained in:
Peca Nesovanovic
2022-01-21 15:33:42 +01:00
committed by GitHub
parent 3c75d87f53
commit 2d24b2cf9d
4 changed files with 951 additions and 1 deletions

View File

@@ -1,8 +1,21 @@
mib: ENVIROMUX-1W-MIB
mib: ENVIROMUX-1W-MIB:ENVIROMUXMICRO-MIB
modules:
sensors:
temperature:
data:
-
oid: ENVIROMUXMICRO-MIB::intSensorEntry
value: ENVIROMUXMICRO-MIB::intSensorValue
num_oid: '.1.3.6.1.4.1.3699.1.1.12.1.1.1.1.4.{{ $index }}'
descr: '{{ $ENVIROMUXMICRO-MIB::intSensorDescription }}'
index: 'intSensorEntry.{{ $index }}'
divisor: 10
group: Internal
skip_values:
-
oid: ENVIROMUXMICRO-MIB::intSensorType
op: '!='
value: 1
-
oid: extSensorTable
value: extSensorValue
@@ -17,6 +30,19 @@ modules:
value: ['1', '24']
humidity:
data:
-
oid: ENVIROMUXMICRO-MIB::intSensorEntry
value: ENVIROMUXMICRO-MIB::intSensorValue
num_oid: '.1.3.6.1.4.1.3699.1.1.12.1.1.1.1.4.{{ $index }}'
descr: '{{ $ENVIROMUXMICRO-MIB::intSensorDescription }}'
index: 'intSensorEntry.{{ $index }}'
divisor: 10
group: Internal
skip_values:
-
oid: ENVIROMUXMICRO-MIB::intSensorType
op: '!='
value: 2
-
oid: extSensorTable
value: extSensorValue
@@ -29,3 +55,36 @@ modules:
oid: extSensorType
op: 'not_in_array'
value: ['2']
state:
data:
-
oid: digInputEntry
value: digInputValue
num_oid: '.1.3.6.1.4.1.3699.1.1.12.1.3.1.1.3.{{ $index }}'
descr: '{{ $digInputDescription }}'
state_name: DigitalInputs
group: Inputs
states:
- { descr: closed, graph: 1, value: 0, generic: 0 }
- { descr: open, graph: 1, value: 1, generic: 1 }
-
oid: alertEntry
value: alertStatus
num_oid: '.1.3.6.1.4.1.3699.1.1.12.1.5.1.1.7.{{ $index }}'
descr: '{{ $alertSensor }}#{{ $index }}'
group: Alerts
state_name: alertStatus
states:
- { descr: normal, graph: 1, value: 0, generic: 0 }
- { descr: enterinCritical, graph: 1, value: 1, generic: 1 }
- { descr: Critical, graph: 1, value: 2, generic: 2 }
- { descr: exitingCritical, graph: 1, value: 3, generic: 1 }
- { descr: waitingAckDismiss, graph: 1, value: 4, generic: 1 }
- { descr: acknowledged, graph: 1, value: 5, generic: 1 }
- { descr: dismissed, graph: 1, value: 6, generic: 1 }
- { descr: disconnected, graph: 1, value: 7, generic: 3 }
skip_values:
-
oid: alertEnabled
op: '='
value: 0