diff --git a/html/images/os/gude.png b/html/images/os/gude.png index 381e4bd013..072ed00be8 100644 Binary files a/html/images/os/gude.png and b/html/images/os/gude.png differ diff --git a/includes/definitions/discovery/gude-esb.yaml b/includes/definitions/discovery/gude-esb.yaml new file mode 100644 index 0000000000..04f8c4010c --- /dev/null +++ b/includes/definitions/discovery/gude-esb.yaml @@ -0,0 +1,148 @@ +mib: GUDEADS-ESB7213-MIB:GUDEADS-ESB7214-MIB +modules: + sensors: + temperature: + data: + - + oid: esb7213SensorTable + value: esb7213TempSensor + num_oid: '.1.3.6.1.4.1.28507.66.1.6.1.1.2.{{ $index }}' + descr: 'Temperature' + index: 'esb7213TempSensor.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7213ExtSensorName }})' + divisor: 10 + + - + oid: esb7213SensorTable + value: esb7213DewPoint + num_oid: '.1.3.6.1.4.1.28507.66.1.6.1.1.6.{{ $index }}' + descr: 'Dew Point' + index: 'esb7213DewPoint.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7213ExtSensorName }})' + divisor: 10 + + - + oid: esb7213SensorTable + value: esb7213DewPointDiff + num_oid: '.1.3.6.1.4.1.28507.66.1.6.1.1.7.{{ $index }}' + descr: 'Dew Diff' + index: 'esb7213DewPointDiff.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7213ExtSensorName }})' + divisor: 10 + + - + oid: esb7214SensorTable + value: esb7214TempSensor + num_oid: '.1.3.6.1.4.1.28507.67.1.6.1.1.2.{{ $index }}' + descr: 'Temperature' + index: 'esb7214TempSensor.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7214ExtSensorName }})' + divisor: 10 + + - + oid: esb7214SensorTable + value: esb7214DewPoint + num_oid: '.1.3.6.1.4.1.28507.67.1.6.1.1.6.{{ $index }}' + descr: 'Dew Point' + index: 'esb7214DewPoint.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7214ExtSensorName }})' + divisor: 10 + + - + oid: esb7214SensorTable + value: esb7214DewPointDiff + num_oid: '.1.3.6.1.4.1.28507.67.1.6.1.1.7.{{ $index }}' + descr: 'Dew Diff' + index: 'esb7214DewPointDiff.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7214ExtSensorName }})' + divisor: 10 + humidity: + data: + - + oid: esb7213SensorTable + value: esb7213HygroSensor + num_oid: '.1.3.6.1.4.1.28507.66.1.6.1.1.3.{{ $index }}' + descr: 'Humidity' + index: 'esb7213HygroSensor.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7213ExtSensorName }})' + divisor: 10 + + - + oid: esb7214SensorTable + value: esb7214HygroSensor + num_oid: '.1.3.6.1.4.1.28507.67.1.6.1.1.3.{{ $index }}' + descr: 'Humidity' + index: 'esb7214HygroSensor.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7214ExtSensorName }})' + divisor: 10 + pressure: + data: + - + oid: esb7213SensorTable + value: esb7213AirPressure + num_oid: '.1.3.6.1.4.1.28507.66.1.6.1.1.5.{{ $index }}' + descr: 'Pressure' + index: 'esb7213AirPressure.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7213ExtSensorName }})' + divisor: 10 + + - + oid: esb7214SensorTable + value: esb7214AirPressure + num_oid: '.1.3.6.1.4.1.28507.67.1.6.1.1.5.{{ $index }}' + descr: 'Pressure' + index: 'esb7214AirPressure.{{ $index }}' + group: 'Sensor {{ $index }} ({{ esb7214ExtSensorName }})' + divisor: 10 + state: + data: + - + oid: esb7213POE + num_oid: '.1.3.6.1.4.1.28507.66.1.5.10.{{ $index }}' + descr: 'Available' + group: POE + state_name: 'esb7213POE' + states: + - { descr: No, graph: 1, value: 0, generic: 3 } + - { descr: Yes, graph: 1, value: 1, generic: 0 } + - + oid: esb7214POE + num_oid: '.1.3.6.1.4.1.28507.67.1.5.10.{{ $index }}' + descr: 'Available' + group: POE + state_name: 'esb7214POE' + states: + - { descr: No, graph: 1, value: 0, generic: 0 } + - { descr: Yes, graph: 1, value: 1, generic: 0 } + + - + oid: esb7214portTable + value: esb7214PortState + num_oid: '.1.3.6.1.4.1.28507.67.1.3.1.2.1.3.{{ $index }}' + descr: 'Relay' + group: 'Output {{ $index }} ({{ esb7214PortName }})' + state_name: 'esb7214PortState' + states: + - { descr: Off, graph: 1, value: 0, generic: 1 } + - { descr: On, graph: 1, value: 1, generic: 0 } + - + oid: esb7214InputTable + value: esb7214Input + num_oid: '.1.3.6.1.4.1.28507.67.1.5.6.2.1.2.{{ $index }}' + descr: 'Logical state' + group: 'Input {{ $index }} ({{ esb7214InputName }})' + state_name: 'esb7214Input' + states: + - { descr: Low, graph: 1, value: 0, generic: 1 } + - { descr: High, graph: 1, value: 1, generic: 0 } + + + + count: + data: + - + oid: esb7214portTable + value: esb7214PortSwitchCount + num_oid: '.1.3.6.1.4.1.28507.67.1.3.1.2.1.4.{{ $index }}' + descr: 'Toggle count {{ esb7214PortName }}' + group: Relay diff --git a/includes/definitions/gude-esb.yaml b/includes/definitions/gude-esb.yaml new file mode 100644 index 0000000000..cccd878836 --- /dev/null +++ b/includes/definitions/gude-esb.yaml @@ -0,0 +1,14 @@ +os: gude-esb +text: 'Expert Sensor Box' +type: power +icon: gude +group: gude +mib_dir: gude +over: + - { graph: device_humidity, text: 'Humidity' } + - { graph: device_temperature, text: 'Temperature' } +discovery: + - + sysObjectID: + - .1.3.6.1.4.1.28507.66 + - .1.3.6.1.4.1.28507.67 diff --git a/mibs/gude/GUDEADS-ESB7213-MIB b/mibs/gude/GUDEADS-ESB7213-MIB new file mode 100644 index 0000000000..8361ce4aa6 --- /dev/null +++ b/mibs/gude/GUDEADS-ESB7213-MIB @@ -0,0 +1,551 @@ +GUDEADS-ESB7213-MIB DEFINITIONS ::= BEGIN + +IMPORTS + enterprises, + MODULE-IDENTITY, + OBJECT-TYPE, + NOTIFICATION-TYPE, + Integer32, + Unsigned32 + FROM SNMPv2-SMI + OBJECT-GROUP, + NOTIFICATION-GROUP + FROM SNMPv2-CONF; + +gudeads MODULE-IDENTITY + LAST-UPDATED "202211230916Z" -- Nov 23, 2022, 9:16:00 AM + ORGANIZATION "GUDE Systems GmbH" + CONTACT-INFO + "Von-der-Wettern-Str. 23 + 51149 Cologne + Germany + https://www.gude.info" + DESCRIPTION + "Expert Power Control 7213 MIB" + -- 1.3.6.1.4.1.28507 + ::= { enterprises 28507 } + + +esb7213ExtInputs OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.6.2 + ::= { esb7213ExtSensors 2 } + +esb7213ExtInputEntry OBJECT-TYPE + SYNTAX Esb7213ExtInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7213ExtInputIndex } + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1 + ::= { esb7213ExtInputTable 1 } + + +Esb7213ExtInputEntry ::= SEQUENCE { + + esb7213ExtInputIndex Unsigned32, + esb7213ExtInput INTEGER, + esb7213ExtInputName OCTET STRING, + esb7213ExtInputPortNum Integer32, + esb7213ExtInputBlockIndex Integer32 } + + +esb7213ExtInput OBJECT-TYPE + SYNTAX INTEGER { + lo(0), + hi(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Input state of device" + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1.2 + ::= { esb7213ExtInputEntry 2 } + + +esb7213ExtActiveInputs OBJECT-TYPE + SYNTAX Unsigned32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of suppported Input Channels." + -- 1.3.6.1.4.1.28507.66.1.6.2.1 + ::= { esb7213ExtInputs 1 } + + +esb7213ExtInputTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7213ExtInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.66.1.6.2.2 + ::= { esb7213ExtInputs 2 } + + +esb7213ExtInputIndex OBJECT-TYPE + SYNTAX Unsigned32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1.1 + ::= { esb7213ExtInputEntry 1 } + + +esb7213ExtInputName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of + the Input" + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1.32 + ::= { esb7213ExtInputEntry 32 } + + +esb7213ExtInputPortNum OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of external Sensor Port when value greater zero, else device built-in Input." + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1.33 + ::= { esb7213ExtInputEntry 33 } + + +esb7213ExtInputBlockIndex OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Either index of device built-in Input, or index of Input in external sensor." + -- 1.3.6.1.4.1.28507.66.1.6.2.2.1.34 + ::= { esb7213ExtInputEntry 34 } + + +esb7213NTPClient OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.5.15 + ::= { esb7213IntSensors 15 } + +esb7213NTPUnixTime OBJECT-TYPE + SYNTAX Unsigned32 + UNITS "s" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "show received NTP time as unixtime (secs since 1 January 1970)" + -- 1.3.6.1.4.1.28507.66.1.5.15.2 + ::= { esb7213NTPClient 2 } + + +esb7213NTPLastValidTimestamp OBJECT-TYPE + SYNTAX Unsigned32 + UNITS "s" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "show seconds since last valid NTP timestamp received" + -- 1.3.6.1.4.1.28507.66.1.5.15.3 + ::= { esb7213NTPClient 3 } + + +esb7213NTPTimeValid OBJECT-TYPE + SYNTAX INTEGER { + notime(0), + valid(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Show if valid Time is received" + -- 1.3.6.1.4.1.28507.66.1.5.15.1 + ::= { esb7213NTPClient 1 } + + +esb7213ExtSensorName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of a + external Sensor" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.32 + ::= { esb7213SensorEntry 32 } + + +esb7213AirPressure OBJECT-TYPE + SYNTAX Integer32 + UNITS "1 hPA (hectopascal) ~ 1 milibar" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual air pressure" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.5 + ::= { esb7213SensorEntry 5 } + + +esb7213DewPoint OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "dew point for actual temperature and humidity" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.6 + ::= { esb7213SensorEntry 6 } + + +esb7213DewPointDiff OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "difference between dew point and actual + temperature (Temp - DewPoint)" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.7 + ::= { esb7213SensorEntry 7 } + + +esb7213POE OBJECT-TYPE + SYNTAX Integer32 (0..1) + UNITS "0 = no POE, 1 = POE available" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "signals POE availability" + -- 1.3.6.1.4.1.28507.66.1.5.10 + ::= { esb7213IntSensors 10 } + + + +esb7213POEEvt NOTIFICATION-TYPE + OBJECTS { + esb7213POE} + STATUS current + DESCRIPTION + "Power over Ethernet changed" + -- 1.3.6.1.4.1.28507.66.3.6 + ::= { events 6 } + +gadsESB7213 OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66 + ::= { gudeads 66 } + +-- Notification Types +-- + +events OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.3 + ::= { gadsESB7213 3 } + +-- Scalars and Tables +-- + +esb7213Objects OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1 + ::= { gadsESB7213 1 } + +esb7213CommonConfig OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.1 + ::= { esb7213Objects 1 } + +esb7213SNMPaccess OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.1.1 + ::= { esb7213CommonConfig 1 } + +esb7213TrapCtrl OBJECT-TYPE + SYNTAX Integer32 (0..3) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "0 = off + 1 = Ver. 1 + 2 = Ver. 2c + 3 = Ver. 3" + -- 1.3.6.1.4.1.28507.66.1.1.1.1 + ::= { esb7213SNMPaccess 1 } + + +esb7213TrapIPTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7213TrapIPEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "list of all Trap receiver" + -- 1.3.6.1.4.1.28507.66.1.1.1.2 + ::= { esb7213SNMPaccess 2 } + + +esb7213TrapIPEntry OBJECT-TYPE + SYNTAX Esb7213TrapIPEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "an entry containing management + informations regarding the list of trap + receivers" + INDEX { + esb7213TrapIPIndex } + -- 1.3.6.1.4.1.28507.66.1.1.1.2.1 + ::= { esb7213TrapIPTable 1 } + + +Esb7213TrapIPEntry ::= SEQUENCE { + + esb7213TrapIPIndex Integer32, + esb7213TrapAddr OCTET STRING } + + +esb7213TrapIPIndex OBJECT-TYPE + SYNTAX Integer32 (1..8) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A unique value, greater than zero, for each receiver slot." + -- 1.3.6.1.4.1.28507.66.1.1.1.2.1.1 + ::= { esb7213TrapIPEntry 1 } + + +esb7213TrapAddr OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..99)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "DNS name or IP address specifying one Trap receiver slot. + A port can optionally be specified: 'name:port' An empty + string disables this slot." + -- 1.3.6.1.4.1.28507.66.1.1.1.2.1.2 + ::= { esb7213TrapIPEntry 2 } + + +esb7213DeviceConfig OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.2 + ::= { esb7213Objects 2 } + +esb7213IntActors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.3 + ::= { esb7213Objects 3 } + +esb7213ExtActors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.4 + ::= { esb7213Objects 4 } + +esb7213IntSensors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.5 + ::= { esb7213Objects 5 } + +esb7213ExtSensors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.1.6 + ::= { esb7213Objects 6 } + +esb7213SensorTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7213SensorEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.66.1.6.1 + ::= { esb7213ExtSensors 1 } + + +esb7213SensorEntry OBJECT-TYPE + SYNTAX Esb7213SensorEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7213SensorIndex } + -- 1.3.6.1.4.1.28507.66.1.6.1.1 + ::= { esb7213SensorTable 1 } + + +Esb7213SensorEntry ::= SEQUENCE { + + esb7213SensorIndex Integer32, + esb7213TempSensor Integer32, + esb7213HygroSensor Integer32, + esb7213InputSensor INTEGER, + esb7213AirPressure Integer32, + esb7213DewPoint Integer32, + esb7213DewPointDiff Integer32, + esb7213ExtSensorName OCTET STRING } + + +esb7213SensorIndex OBJECT-TYPE + SYNTAX Integer32 (1..4) + MAX-ACCESS read-only + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.1 + ::= { esb7213SensorEntry 1 } + + +esb7213TempSensor OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual temperature" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.2 + ::= { esb7213SensorEntry 2 } + + +esb7213HygroSensor OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 percent humidity" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual humidity" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.3 + ::= { esb7213SensorEntry 3 } + + +esb7213InputSensor OBJECT-TYPE + SYNTAX INTEGER { + off(0), + on(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "logical state of input sensor" + -- 1.3.6.1.4.1.28507.66.1.6.1.1.4 + ::= { esb7213SensorEntry 4 } + + +-- Conformance +-- + +esb7213Conf OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.2 + ::= { gadsESB7213 2 } + +-- Groups +-- + +esb7213Groups OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.2.1 + ::= { esb7213Conf 1 } + +-- Compliance +-- + +esb7213Compls OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.66.2.2 + ::= { esb7213Conf 2 } + +esb7213BasicGroup OBJECT-GROUP + OBJECTS { + esb7213TrapCtrl, + esb7213TrapIPIndex, + esb7213TrapAddr, + esb7213POE, + esb7213SensorIndex, + esb7213TempSensor, + esb7213HygroSensor, + esb7213InputSensor, + esb7213AirPressure, + esb7213DewPoint, + esb7213DewPointDiff, + esb7213ExtSensorName, + esb7213NTPTimeValid, + esb7213NTPUnixTime, + esb7213NTPLastValidTimestamp, + esb7213ExtActiveInputs, + esb7213ExtInputIndex, + esb7213ExtInput, + esb7213ExtInputName, + esb7213ExtInputPortNum, + esb7213ExtInputBlockIndex } + STATUS current + DESCRIPTION + "Basic objects." + -- 1.3.6.1.4.1.28507.66.2.1.1 + ::= { esb7213Groups 1 } + +esb7213NotificationGroup NOTIFICATION-GROUP + NOTIFICATIONS { + esb7213TempEvtSen, + esb7213HygroEvtSen, + esb7213InputEvtSen, + esb7213AirPressureEvtSen, + esb7213DewPtDiffEvtSen, + esb7213POEEvt, + esb7213ExtInputEvt } + STATUS current + DESCRIPTION + "" + -- 1.3.6.1.4.1.28507.66.2.1.2 + ::= { esb7213Groups 2 } + + +esb7213HygroEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7213SensorIndex, + esb7213HygroSensor} + STATUS current + DESCRIPTION + "hygro limits exceeded" + -- 1.3.6.1.4.1.28507.66.3.2 + ::= { events 2 } + + +esb7213InputEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7213SensorIndex, + esb7213InputSensor} + STATUS current + DESCRIPTION + "change of logical input sensor state" + -- 1.3.6.1.4.1.28507.66.3.3 + ::= { events 3 } + + +esb7213AirPressureEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7213SensorIndex, + esb7213AirPressure} + STATUS current + DESCRIPTION + "Air Pressure limits exceeded + + " + -- 1.3.6.1.4.1.28507.66.3.4 + ::= { events 4 } + + +esb7213DewPtDiffEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7213SensorIndex, + esb7213DewPointDiff} + STATUS current + DESCRIPTION + "Dew Point Difference limits exceeded" + -- 1.3.6.1.4.1.28507.66.3.5 + ::= { events 5 } + + +esb7213TempEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7213SensorIndex, + esb7213TempSensor} + STATUS current + DESCRIPTION + "temperature limits exceeded" + -- 1.3.6.1.4.1.28507.66.3.1 + ::= { events 1 } + + +esb7213ExtInputEvt NOTIFICATION-TYPE + OBJECTS { + esb7213ExtInputIndex, + esb7213ExtInput, + esb7213ExtInputName, + esb7213ExtInputPortNum, + esb7213ExtInputBlockIndex} + STATUS current + DESCRIPTION + "Change of external sensor input." + -- 1.3.6.1.4.1.28507.66.3.7 + -- 1.3.6.1.4.1.28507.66.3.25 + ::= { events 25 } + +END diff --git a/mibs/gude/GUDEADS-ESB7214-MIB b/mibs/gude/GUDEADS-ESB7214-MIB new file mode 100644 index 0000000000..9b368265b7 --- /dev/null +++ b/mibs/gude/GUDEADS-ESB7214-MIB @@ -0,0 +1,876 @@ +GUDEADS-ESB7214-MIB DEFINITIONS ::= BEGIN + +IMPORTS + enterprises, + MODULE-IDENTITY, + OBJECT-TYPE, + NOTIFICATION-TYPE, + Integer32, + Unsigned32 + FROM SNMPv2-SMI + OBJECT-GROUP, + NOTIFICATION-GROUP + FROM SNMPv2-CONF; + +gudeads MODULE-IDENTITY + LAST-UPDATED "202211230917Z" -- Nov 23, 2022, 9:17:00 AM + ORGANIZATION "GUDE Systems GmbH" + CONTACT-INFO + "Von-der-Wettern-Str. 23 + 51149 Cologne + Germany + https://www.gude.info" + DESCRIPTION + "Expert Power Control 7214 MIB" + -- 1.3.6.1.4.1.28507 + ::= { enterprises 28507 } + + +esb7214ExtInputs OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.6.2 + ::= { esb7214ExtSensors 2 } + +esb7214ExtInputEntry OBJECT-TYPE + SYNTAX Esb7214ExtInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7214ExtInputIndex } + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1 + ::= { esb7214ExtInputTable 1 } + + +Esb7214ExtInputEntry ::= SEQUENCE { + + esb7214ExtInputIndex Unsigned32, + esb7214ExtInput INTEGER, + esb7214ExtInputName OCTET STRING, + esb7214ExtInputPortNum Integer32, + esb7214ExtInputBlockIndex Integer32 } + + +esb7214ExtInput OBJECT-TYPE + SYNTAX INTEGER { + lo(0), + hi(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Input state of device" + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1.2 + ::= { esb7214ExtInputEntry 2 } + + +esb7214ExtActiveInputs OBJECT-TYPE + SYNTAX Unsigned32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of suppported Input Channels." + -- 1.3.6.1.4.1.28507.67.1.6.2.1 + ::= { esb7214ExtInputs 1 } + + +esb7214ExtInputTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214ExtInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.6.2.2 + ::= { esb7214ExtInputs 2 } + + +esb7214ExtInputIndex OBJECT-TYPE + SYNTAX Unsigned32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1.1 + ::= { esb7214ExtInputEntry 1 } + + +esb7214ExtInputName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of + the Input" + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1.32 + ::= { esb7214ExtInputEntry 32 } + + +esb7214ExtInputPortNum OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of external Sensor Port when value greater zero, else device built-in Input." + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1.33 + ::= { esb7214ExtInputEntry 33 } + + +esb7214ExtInputBlockIndex OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Either index of device built-in Input, or index of Input in external sensor." + -- 1.3.6.1.4.1.28507.67.1.6.2.2.1.34 + ::= { esb7214ExtInputEntry 34 } + + +esb7214PortResetDuration OBJECT-TYPE + SYNTAX Integer32 (0..65535) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Delay in sec for turning Port on again after Reset action" + DEFVAL { 0 } + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.8 + ::= { esb7214portEntry 8 } + + +esb7214NTPClient OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.5.15 + ::= { esb7214IntSensors 15 } + +esb7214NTPUnixTime OBJECT-TYPE + SYNTAX Unsigned32 + UNITS "s" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "show received NTP time as unixtime (secs since 1 January 1970)" + -- 1.3.6.1.4.1.28507.67.1.5.15.2 + ::= { esb7214NTPClient 2 } + + +esb7214NTPLastValidTimestamp OBJECT-TYPE + SYNTAX Unsigned32 + UNITS "s" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "show seconds since last valid NTP timestamp received" + -- 1.3.6.1.4.1.28507.67.1.5.15.3 + ::= { esb7214NTPClient 3 } + + +esb7214NTPTimeValid OBJECT-TYPE + SYNTAX INTEGER { + notime(0), + valid(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Show if valid Time is received" + -- 1.3.6.1.4.1.28507.67.1.5.15.1 + ::= { esb7214NTPClient 1 } + + +esb7214InputName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of + the Input" + -- 1.3.6.1.4.1.28507.67.1.5.6.2.1.32 + ::= { esb7214InputEntry 32 } + + +esb7214ExtSensorName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of a + external Sensor" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.32 + ::= { esb7214SensorEntry 32 } + + +esb7214PwrSupplyTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214PwrSupplyEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Power Supply Table - shows if Power Supply is avail" + -- 1.3.6.1.4.1.28507.67.1.5.13 + ::= { esb7214IntSensors 13 } + + +esb7214PwrSupplyEntry OBJECT-TYPE + SYNTAX Esb7214PwrSupplyEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7214PwrSupplyIndex } + -- 1.3.6.1.4.1.28507.67.1.5.13.1 + ::= { esb7214PwrSupplyTable 1 } + + +Esb7214PwrSupplyEntry ::= SEQUENCE { + + esb7214PwrSupplyIndex Integer32, + esb7214PwrSupplyStatus INTEGER } + + +esb7214PwrSupplyIndex OBJECT-TYPE + SYNTAX Integer32 (1..2) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Index of Power Supply entries" + -- 1.3.6.1.4.1.28507.67.1.5.13.1.1 + ::= { esb7214PwrSupplyEntry 1 } + + +esb7214PwrSupplyStatus OBJECT-TYPE + SYNTAX INTEGER { + up(1), + down(0) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "shows status of the Power Supply + 1 = fst, 2 = snd etc." + -- 1.3.6.1.4.1.28507.67.1.5.13.1.2 + ::= { esb7214PwrSupplyEntry 2 } + + +esb7214relayports OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.3.1 + ::= { esb7214IntActors 1 } + +esb7214portNumber OBJECT-TYPE + SYNTAX Integer32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of Relay Ports" + -- 1.3.6.1.4.1.28507.67.1.3.1.1 + ::= { esb7214relayports 1 } + + +-- the Interfaces table +-- The Interfaces table contains information on the entity's +-- interfaces. Each sub-layer below the internetwork-layer +-- of a network interface is considered to be an interface. + +esb7214portTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214portEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "list of all ENC Relay Ports" + -- 1.3.6.1.4.1.28507.67.1.3.1.2 + ::= { esb7214relayports 2 } + + +esb7214portEntry OBJECT-TYPE + SYNTAX Esb7214portEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "An entry containing management information applicable to a + particular relay port." + INDEX { + esb7214PortIndex } + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1 + ::= { esb7214portTable 1 } + + +Esb7214portEntry ::= SEQUENCE { + + esb7214PortIndex Integer32, + esb7214PortName OCTET STRING, + esb7214PortState INTEGER, + esb7214PortSwitchCount Integer32, + esb7214PortStartupMode INTEGER, + esb7214PortStartupDelay Integer32, + esb7214PortRepowerTime Integer32, + esb7214PortResetDuration Integer32 } + + +esb7214PortIndex OBJECT-TYPE + SYNTAX Integer32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A unique value, greater than zero, for each Relay Port." + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.1 + ::= { esb7214portEntry 1 } + + +esb7214PortName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..15)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A textual string containing name of a Relay Port." + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.2 + ::= { esb7214portEntry 2 } + + +esb7214PortState OBJECT-TYPE + SYNTAX INTEGER { + off(0), + on(1) } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "current state of a Relay Port" + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.3 + ::= { esb7214portEntry 3 } + + +esb7214PortSwitchCount OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The total number of switch actions ocurred on a Relay Port. + Does not count switch commands which will not switch + the ralay state, so just real relay switches are displayed here." + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.4 + ::= { esb7214portEntry 4 } + + +esb7214PortStartupMode OBJECT-TYPE + SYNTAX INTEGER { + off(0), + on(1), + laststate(2) } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "set Mode of startup sequence (off, on , remember last state)" + DEFVAL { off } + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.5 + ::= { esb7214portEntry 5 } + + +esb7214PortStartupDelay OBJECT-TYPE + SYNTAX Integer32 + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Delay in sec for startup action" + DEFVAL { 0 } + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.6 + ::= { esb7214portEntry 6 } + + +esb7214PortRepowerTime OBJECT-TYPE + SYNTAX Integer32 (0..65535) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Delay in sec for repower port after switching off" + DEFVAL { 0 } + -- 1.3.6.1.4.1.28507.67.1.3.1.2.1.7 + ::= { esb7214portEntry 7 } + + +esb7214AirPressure OBJECT-TYPE + SYNTAX Integer32 + UNITS "1 hPA (hectopascal) ~ 1 milibar" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual air pressure" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.5 + ::= { esb7214SensorEntry 5 } + + +esb7214DewPoint OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "dew point for actual temperature and humidity" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.6 + ::= { esb7214SensorEntry 6 } + + +esb7214DewPointDiff OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "difference between dew point and actual + temperature (Temp - DewPoint)" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.7 + ::= { esb7214SensorEntry 7 } + + +esb7214POE OBJECT-TYPE + SYNTAX Integer32 (0..1) + UNITS "0 = no POE, 1 = POE available" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "signals POE availability" + -- 1.3.6.1.4.1.28507.67.1.5.10 + ::= { esb7214IntSensors 10 } + + + +esb7214POEEvt NOTIFICATION-TYPE + OBJECTS { + esb7214POE} + STATUS current + DESCRIPTION + "Power over Ethernet changed" + -- 1.3.6.1.4.1.28507.67.3.8 + ::= { events 8 } + +gadsESB7214 OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67 + ::= { gudeads 67 } + +-- Notification Types +-- + +events OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.3 + ::= { gadsESB7214 3 } + +-- Scalars and Tables +-- + +esb7214Objects OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1 + ::= { gadsESB7214 1 } + +esb7214CommonConfig OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.1 + ::= { esb7214Objects 1 } + +esb7214SNMPaccess OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.1.1 + ::= { esb7214CommonConfig 1 } + +esb7214TrapCtrl OBJECT-TYPE + SYNTAX Integer32 (0..3) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "0 = off + 1 = Ver. 1 + 2 = Ver. 2c + 3 = Ver. 3" + -- 1.3.6.1.4.1.28507.67.1.1.1.1 + ::= { esb7214SNMPaccess 1 } + + +esb7214TrapIPTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214TrapIPEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "list of all Trap receiver" + -- 1.3.6.1.4.1.28507.67.1.1.1.2 + ::= { esb7214SNMPaccess 2 } + + +esb7214TrapIPEntry OBJECT-TYPE + SYNTAX Esb7214TrapIPEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "an entry containing management + informations regarding the list of trap + receivers" + INDEX { + esb7214TrapIPIndex } + -- 1.3.6.1.4.1.28507.67.1.1.1.2.1 + ::= { esb7214TrapIPTable 1 } + + +Esb7214TrapIPEntry ::= SEQUENCE { + + esb7214TrapIPIndex Integer32, + esb7214TrapAddr OCTET STRING } + + +esb7214TrapIPIndex OBJECT-TYPE + SYNTAX Integer32 (1..8) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A unique value, greater than zero, for each receiver slot." + -- 1.3.6.1.4.1.28507.67.1.1.1.2.1.1 + ::= { esb7214TrapIPEntry 1 } + + +esb7214TrapAddr OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..99)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "DNS name or IP address specifying one Trap receiver slot. + A port can optionally be specified: 'name:port' An empty + string disables this slot." + -- 1.3.6.1.4.1.28507.67.1.1.1.2.1.2 + ::= { esb7214TrapIPEntry 2 } + + +esb7214DeviceConfig OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.2 + ::= { esb7214Objects 2 } + +esb7214IntActors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.3 + ::= { esb7214Objects 3 } + +esb7214ExtActors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.4 + ::= { esb7214Objects 4 } + +esb7214IntSensors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.5 + ::= { esb7214Objects 5 } + +esb7214ExtSensors OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.6 + ::= { esb7214Objects 6 } + +esb7214SensorTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214SensorEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.6.1 + ::= { esb7214ExtSensors 1 } + + +esb7214SensorEntry OBJECT-TYPE + SYNTAX Esb7214SensorEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7214SensorIndex } + -- 1.3.6.1.4.1.28507.67.1.6.1.1 + ::= { esb7214SensorTable 1 } + + +Esb7214SensorEntry ::= SEQUENCE { + + esb7214SensorIndex Integer32, + esb7214TempSensor Integer32, + esb7214HygroSensor Integer32, + esb7214InputSensor INTEGER, + esb7214AirPressure Integer32, + esb7214DewPoint Integer32, + esb7214DewPointDiff Integer32, + esb7214ExtSensorName OCTET STRING } + + +esb7214SensorIndex OBJECT-TYPE + SYNTAX Integer32 (1..4) + MAX-ACCESS read-only + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.1 + ::= { esb7214SensorEntry 1 } + + +esb7214TempSensor OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 degree Celsius" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual temperature" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.2 + ::= { esb7214SensorEntry 2 } + + +esb7214HygroSensor OBJECT-TYPE + SYNTAX Integer32 + UNITS "0.1 percent humidity" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "actual humidity" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.3 + ::= { esb7214SensorEntry 3 } + + +esb7214InputSensor OBJECT-TYPE + SYNTAX INTEGER { + off(0), + on(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "logical state of input sensor" + -- 1.3.6.1.4.1.28507.67.1.6.1.1.4 + ::= { esb7214SensorEntry 4 } + + +-- Conformance +-- + +esb7214Conf OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.2 + ::= { gadsESB7214 2 } + +-- Groups +-- + +esb7214Groups OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.2.1 + ::= { esb7214Conf 1 } + +-- Compliance +-- + +esb7214Compls OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.2.2 + ::= { esb7214Conf 2 } + +esb7214BasicGroup OBJECT-GROUP + OBJECTS { + esb7214TrapCtrl, + esb7214TrapIPIndex, + esb7214TrapAddr, + esb7214portNumber, + esb7214PortIndex, + esb7214PortName, + esb7214PortState, + esb7214PortSwitchCount, + esb7214PortStartupMode, + esb7214PortStartupDelay, + esb7214PortRepowerTime, + esb7214ActiveInputs, + esb7214InputIndex, + esb7214Input, + esb7214POE, + esb7214SensorIndex, + esb7214TempSensor, + esb7214HygroSensor, + esb7214InputSensor, + esb7214AirPressure, + esb7214DewPoint, + esb7214DewPointDiff, + esb7214PwrSupplyIndex, + esb7214PwrSupplyStatus, + esb7214ExtSensorName, + esb7214InputName, + esb7214NTPTimeValid, + esb7214NTPUnixTime, + esb7214NTPLastValidTimestamp, + esb7214PortResetDuration, + esb7214ExtActiveInputs, + esb7214ExtInputIndex, + esb7214ExtInput, + esb7214ExtInputName, + esb7214ExtInputPortNum, + esb7214ExtInputBlockIndex } + STATUS current + DESCRIPTION + "Basic objects." + -- 1.3.6.1.4.1.28507.67.2.1.1 + ::= { esb7214Groups 1 } + +esb7214NotificationGroup NOTIFICATION-GROUP + NOTIFICATIONS { + esb7214InputEvt, + esb7214TempEvtSen, + esb7214HygroEvtSen, + esb7214InputEvtSen, + esb7214AirPressureEvtSen, + esb7214DewPtDiffEvtSen, + esb7214POEEvt, + esb7214SwitchEvtPort, + esb7214PwrSupplyChangeEvt, + esb7214ExtInputEvt } + STATUS current + DESCRIPTION + "" + -- 1.3.6.1.4.1.28507.67.2.1.2 + ::= { esb7214Groups 2 } + +esb7214Inputs OBJECT IDENTIFIER + -- 1.3.6.1.4.1.28507.67.1.5.6 + ::= { esb7214IntSensors 6 } + +esb7214InputEntry OBJECT-TYPE + SYNTAX Esb7214InputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + INDEX { + esb7214InputIndex } + -- 1.3.6.1.4.1.28507.67.1.5.6.2.1 + ::= { esb7214InputTable 1 } + + +Esb7214InputEntry ::= SEQUENCE { + + esb7214InputIndex Integer32, + esb7214Input INTEGER, + esb7214InputName OCTET STRING } + + +esb7214Input OBJECT-TYPE + SYNTAX INTEGER { + lo(0), + hi(1) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Input state of device" + -- 1.3.6.1.4.1.28507.67.1.5.6.2.1.2 + ::= { esb7214InputEntry 2 } + + + +esb7214InputEvt NOTIFICATION-TYPE + OBJECTS { + esb7214InputIndex, + esb7214Input} + STATUS current + DESCRIPTION + "Change of device input." + -- 1.3.6.1.4.1.28507.67.3.2 + ::= { events 2 } + +esb7214ActiveInputs OBJECT-TYPE + SYNTAX Unsigned32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of suppported Input Channels." + -- 1.3.6.1.4.1.28507.67.1.5.6.1 + ::= { esb7214Inputs 1 } + + +esb7214InputTable OBJECT-TYPE + SYNTAX SEQUENCE OF Esb7214InputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.5.6.2 + ::= { esb7214Inputs 2 } + + +esb7214InputIndex OBJECT-TYPE + SYNTAX Integer32 (1..12) + MAX-ACCESS read-only + STATUS current + DESCRIPTION "" + -- 1.3.6.1.4.1.28507.67.1.5.6.2.1.1 + ::= { esb7214InputEntry 1 } + + + +esb7214HygroEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7214SensorIndex, + esb7214HygroSensor} + STATUS current + DESCRIPTION + "hygro limits exceeded" + -- 1.3.6.1.4.1.28507.67.3.4 + ::= { events 4 } + + +esb7214InputEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7214SensorIndex, + esb7214InputSensor} + STATUS current + DESCRIPTION + "change of logical input sensor state" + -- 1.3.6.1.4.1.28507.67.3.5 + ::= { events 5 } + + +esb7214AirPressureEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7214SensorIndex, + esb7214AirPressure} + STATUS current + DESCRIPTION + "Air Pressure limits exceeded + + " + -- 1.3.6.1.4.1.28507.67.3.6 + ::= { events 6 } + + +esb7214DewPtDiffEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7214SensorIndex, + esb7214DewPointDiff} + STATUS current + DESCRIPTION + "Dew Point Difference limits exceeded" + -- 1.3.6.1.4.1.28507.67.3.7 + ::= { events 7 } + + +esb7214TempEvtSen NOTIFICATION-TYPE + OBJECTS { + esb7214SensorIndex, + esb7214TempSensor} + STATUS current + DESCRIPTION + "temperature limits exceeded" + -- 1.3.6.1.4.1.28507.67.3.3 + ::= { events 3 } + + +esb7214SwitchEvtPort NOTIFICATION-TYPE + OBJECTS { + esb7214PortIndex, + esb7214PortName, + esb7214PortState, + esb7214PortSwitchCount} + STATUS current + DESCRIPTION + "Event is triggered when a port is switched" + -- 1.3.6.1.4.1.28507.67.3.1 + ::= { events 1 } + + +esb7214PwrSupplyChangeEvt NOTIFICATION-TYPE + OBJECTS { + esb7214PwrSupplyIndex, + esb7214PwrSupplyStatus} + STATUS current + DESCRIPTION + "Event is triggered when Power Supply state + changes" + -- 1.3.6.1.4.1.28507.67.3.9 + ::= { events 9 } + + +esb7214ExtInputEvt NOTIFICATION-TYPE + OBJECTS { + esb7214ExtInputIndex, + esb7214ExtInput, + esb7214ExtInputName, + esb7214ExtInputPortNum, + esb7214ExtInputBlockIndex} + STATUS current + DESCRIPTION + "Change of external sensor input." + -- 1.3.6.1.4.1.28507.67.3.10 + -- 1.3.6.1.4.1.28507.67.3.25 + ::= { events 25 } + +END diff --git a/tests/data/gude-esb_7213-12-1.json b/tests/data/gude-esb_7213-12-1.json new file mode 100644 index 0000000000..11251676f9 --- /dev/null +++ b/tests/data/gude-esb_7213-12-1.json @@ -0,0 +1,406 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "gude-2", + "sysObjectID": ".1.3.6.1.4.1.28507.66", + "sysDescr": "Expert Sensor Box 7213-12", + "sysContact": "sysContact", + "version": null, + "hardware": null, + "features": null, + "location": "sysLocation", + "os": "gude-esb", + "type": "power", + "serial": null, + "icon": "gude.png" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": "00193201c5de", + "ifLastChange": 6874600, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 5376, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 5362, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 539739, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 532287, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 2189, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 55, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "humidity", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.3.1", + "sensor_index": "esb7213HygroSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Humidity", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 53.4, + "sensor_limit": 70, + "sensor_limit_warn": null, + "sensor_limit_low": 30, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.5.10.0", + "sensor_index": "0", + "sensor_type": "esb7213POE", + "sensor_descr": "Available", + "group": "POE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7213POE" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.6.1", + "sensor_index": "esb7213DewPoint.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Point", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 15.8, + "sensor_limit": 35.8, + "sensor_limit_warn": null, + "sensor_limit_low": 5.8, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.7.1", + "sensor_index": "esb7213DewPointDiff.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Diff", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 10.2, + "sensor_limit": 30.2, + "sensor_limit_warn": null, + "sensor_limit_low": 0.2, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.2.1", + "sensor_index": "esb7213TempSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Temperature", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 26, + "sensor_limit": 46, + "sensor_limit_warn": null, + "sensor_limit_low": 16, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.2.2", + "sensor_index": "esb7213TempSensor.2", + "sensor_type": "gude-esb", + "sensor_descr": "Temperature", + "group": "Sensor 2 (7104)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 26.8, + "sensor_limit": 46.8, + "sensor_limit_warn": null, + "sensor_limit_low": 16.8, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "esb7213POE", + "state_descr": "No", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "esb7213POE", + "state_descr": "Yes", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/gude-esb_7213-12.json b/tests/data/gude-esb_7213-12.json new file mode 100644 index 0000000000..542fd985ac --- /dev/null +++ b/tests/data/gude-esb_7213-12.json @@ -0,0 +1,381 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "gude-1", + "sysObjectID": ".1.3.6.1.4.1.28507.66", + "sysDescr": "Expert Sensor Box 7213-12", + "sysContact": "sysContact", + "version": null, + "hardware": null, + "features": null, + "location": "sysLocation", + "os": "gude-esb", + "type": "power", + "serial": null, + "icon": "gude.png" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": "00193201c5e0", + "ifLastChange": 6846700, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 6183, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 6198, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 629069, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 778743, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 2170, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 69, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "humidity", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.3.1", + "sensor_index": "esb7213HygroSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Humidity", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 53.9, + "sensor_limit": 70, + "sensor_limit_warn": null, + "sensor_limit_low": 30, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.5.10.0", + "sensor_index": "0", + "sensor_type": "esb7213POE", + "sensor_descr": "Available", + "group": "POE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7213POE" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.6.1", + "sensor_index": "esb7213DewPoint.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Point", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 15.9, + "sensor_limit": 35.9, + "sensor_limit_warn": null, + "sensor_limit_low": 5.9, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.7.1", + "sensor_index": "esb7213DewPointDiff.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Diff", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 10, + "sensor_limit": 30, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.2.1", + "sensor_index": "esb7213TempSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Temperature", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 25.9, + "sensor_limit": 45.9, + "sensor_limit_warn": null, + "sensor_limit_low": 15.9, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "esb7213POE", + "state_descr": "No", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "esb7213POE", + "state_descr": "Yes", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/gude-esb_7213-13.json b/tests/data/gude-esb_7213-13.json new file mode 100644 index 0000000000..32faa8d2ed --- /dev/null +++ b/tests/data/gude-esb_7213-13.json @@ -0,0 +1,406 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "gude-4", + "sysObjectID": ".1.3.6.1.4.1.28507.66", + "sysDescr": "Expert Sensor Box 7213-13", + "sysContact": "dfgsdfsfd", + "version": null, + "hardware": null, + "features": null, + "location": "sysLocation", + "os": "gude-esb", + "type": "power", + "serial": null, + "icon": "gude.png" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": "00193201c113", + "ifLastChange": 7158500, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 77694, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 77277, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 6352452, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 5678860, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 2236, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 95, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "humidity", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.3.1", + "sensor_index": "esb7213HygroSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Humidity", + "group": "Sensor 1 (i006)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 53.2, + "sensor_limit": 70, + "sensor_limit_warn": null, + "sensor_limit_low": 30, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "pressure", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.5.1", + "sensor_index": "esb7213AirPressure.1", + "sensor_type": "gude-esb", + "sensor_descr": "Pressure", + "group": "Sensor 1 (i006)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 101.1, + "sensor_limit": 106.155, + "sensor_limit_warn": null, + "sensor_limit_low": 96.045, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.5.10.0", + "sensor_index": "0", + "sensor_type": "esb7213POE", + "sensor_descr": "Available", + "group": "POE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7213POE" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.6.1", + "sensor_index": "esb7213DewPoint.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Point", + "group": "Sensor 1 (i006)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 16.2, + "sensor_limit": 36.2, + "sensor_limit_warn": null, + "sensor_limit_low": 6.2, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.7.1", + "sensor_index": "esb7213DewPointDiff.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Diff", + "group": "Sensor 1 (i006)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 10.3, + "sensor_limit": 30.3, + "sensor_limit_warn": null, + "sensor_limit_low": 0.3, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.66.1.6.1.1.2.1", + "sensor_index": "esb7213TempSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Temperature", + "group": "Sensor 1 (i006)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 26.5, + "sensor_limit": 46.5, + "sensor_limit_warn": null, + "sensor_limit_low": 16.5, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "esb7213POE", + "state_descr": "No", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "esb7213POE", + "state_descr": "Yes", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/gude-esb_7214-12.json b/tests/data/gude-esb_7214-12.json new file mode 100644 index 0000000000..097b5c3456 --- /dev/null +++ b/tests/data/gude-esb_7214-12.json @@ -0,0 +1,484 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "gude-5", + "sysObjectID": ".1.3.6.1.4.1.28507.67", + "sysDescr": "Expert Sensor Box 7214-12", + "sysContact": "sysContact", + "version": null, + "hardware": null, + "features": null, + "location": "Amsterdam;PHW;5th fl", + "os": "gude-esb", + "type": "power", + "serial": null, + "icon": "gude.png" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth_K64", + "ifName": "eth_K64", + "portName": null, + "ifIndex": 1, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth_K64", + "ifPhysAddress": "001932015583", + "ifLastChange": 7490600, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 12315, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 12363, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 1452114, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 2785228, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 2161, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 81, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "count", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.3.1.2.1.4.1", + "sensor_index": "1", + "sensor_type": "gude-esb", + "sensor_descr": "Toggle count Output Port", + "group": "Relay", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "humidity", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.6.1.1.3.1", + "sensor_index": "esb7214HygroSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Humidity", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 48.8, + "sensor_limit": 70, + "sensor_limit_warn": null, + "sensor_limit_low": 30, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.5.6.2.1.2.1", + "sensor_index": "1", + "sensor_type": "esb7214Input", + "sensor_descr": "Logical state", + "group": "Input 1 (Extern Input)", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7214Input" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.5.10.0", + "sensor_index": "0", + "sensor_type": "esb7214POE", + "sensor_descr": "Available", + "group": "POE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7214POE" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.3.1.2.1.3.1", + "sensor_index": "1", + "sensor_type": "esb7214PortState", + "sensor_descr": "Relay", + "group": "Output 1 (Output Port)", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "esb7214PortState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.6.1.1.6.1", + "sensor_index": "esb7214DewPoint.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Point", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 16.1, + "sensor_limit": 36.1, + "sensor_limit_warn": null, + "sensor_limit_low": 6.1, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.6.1.1.7.1", + "sensor_index": "esb7214DewPointDiff.1", + "sensor_type": "gude-esb", + "sensor_descr": "Dew Diff", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 11.7, + "sensor_limit": 31.7, + "sensor_limit_warn": null, + "sensor_limit_low": 1.7, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.28507.67.1.6.1.1.2.1", + "sensor_index": "esb7214TempSensor.1", + "sensor_type": "gude-esb", + "sensor_descr": "Temperature", + "group": "Sensor 1 (i005)", + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 27.9, + "sensor_limit": 47.9, + "sensor_limit_warn": null, + "sensor_limit_low": 17.9, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "esb7214Input", + "state_descr": "Low", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 1 + }, + { + "state_name": "esb7214Input", + "state_descr": "High", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "esb7214POE", + "state_descr": "No", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 0 + }, + { + "state_name": "esb7214POE", + "state_descr": "Yes", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "esb7214PortState", + "state_descr": "Off", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 1 + }, + { + "state_name": "esb7214PortState", + "state_descr": "On", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 0 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/gude-esb_7213-12-1.snmprec b/tests/snmpsim/gude-esb_7213-12-1.snmprec new file mode 100644 index 0000000000..57fcd15c0f --- /dev/null +++ b/tests/snmpsim/gude-esb_7213-12-1.snmprec @@ -0,0 +1,139 @@ +1.3.6.1.2.1.1.1.0|4x|4578706572742053656e736f7220426f7820373231332d3132 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.28507.66 +1.3.6.1.2.1.1.3.0|67|6874600 +1.3.6.1.2.1.1.4.0|4|sysContact +1.3.6.1.2.1.1.5.0|4x|677564652d32 +1.3.6.1.2.1.1.6.0|4|sysLocation +1.3.6.1.2.1.1.7.0|2|72 +1.3.6.1.2.1.2.1.0|2|1 +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4x|6574685f4b3634 +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|00193201c5de +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|6874600 +1.3.6.1.2.1.2.2.1.10.1|65|539739 +1.3.6.1.2.1.2.2.1.11.1|65|5376 +1.3.6.1.2.1.2.2.1.12.1|65|2189 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|532287 +1.3.6.1.2.1.2.2.1.17.1|65|5362 +1.3.6.1.2.1.2.2.1.18.1|65|55 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.4.1.0|2|2 +1.3.6.1.2.1.4.2.0|2|64 +1.3.6.1.2.1.4.3.0|65|7579 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|6389 +1.3.6.1.2.1.4.10.0|65|5264 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.13.0|2|60000 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.23.0|65|0 +1.3.6.1.2.1.5.1.0|65|4462 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|1 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|4461 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|4461 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|4461 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.11.1.0|65|495 +1.3.6.1.2.1.11.2.0|65|484 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|9 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|1168 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|147 +1.3.6.1.2.1.11.16.0|65|267 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|156 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|508 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.4.1.28507.66.1.1.1.1.0|2|0 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.2|2|2 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.3|2|3 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.4|2|4 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.5|2|5 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.6|2|6 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.7|2|7 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.8|2|8 +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.1|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.2|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.3|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.4|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.5|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.6|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.7|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.8|4| +1.3.6.1.4.1.28507.66.1.5.10.0|2|1 +1.3.6.1.4.1.28507.66.1.5.15.1.0|2|0 +1.3.6.1.4.1.28507.66.1.5.15.2.0|66|0 +1.3.6.1.4.1.28507.66.1.5.15.3.0|66|4294967295 +1.3.6.1.4.1.28507.66.1.6.1.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.6.1.1.1.2|2|2 +1.3.6.1.4.1.28507.66.1.6.1.1.2.1|2|260 +1.3.6.1.4.1.28507.66.1.6.1.1.2.2|2|268 +1.3.6.1.4.1.28507.66.1.6.1.1.3.1|2|534 +1.3.6.1.4.1.28507.66.1.6.1.1.6.1|2|158 +1.3.6.1.4.1.28507.66.1.6.1.1.7.1|2|102 +1.3.6.1.4.1.28507.66.1.6.1.1.32.1|4|i005 +1.3.6.1.4.1.28507.66.1.6.1.1.32.2|4|7104 +1.3.6.1.4.1.28507.66.1.6.2.1.0|66|0 +1.3.6.1.6.3.10.2.1.1.0|4x|80006f5b0300193201c5de +1.3.6.1.6.3.10.2.1.2.0|2|11 +1.3.6.1.6.3.10.2.1.3.0|2|68751 +1.3.6.1.6.3.10.2.1.4.0|2|1420 diff --git a/tests/snmpsim/gude-esb_7213-12.snmprec b/tests/snmpsim/gude-esb_7213-12.snmprec new file mode 100644 index 0000000000..09581c7097 --- /dev/null +++ b/tests/snmpsim/gude-esb_7213-12.snmprec @@ -0,0 +1,145 @@ +1.3.6.1.2.1.1.1.0|4x|4578706572742053656e736f7220426f7820373231332d3132 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.28507.66 +1.3.6.1.2.1.1.3.0|67|6846600 +1.3.6.1.2.1.1.4.0|4|sysContact +1.3.6.1.2.1.1.5.0|4x|677564652d31 +1.3.6.1.2.1.1.6.0|4|sysLocation +1.3.6.1.2.1.1.7.0|2|72 +1.3.6.1.2.1.2.1.0|2|1 +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4x|6574685f4b3634 +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|00193201c5e0 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|6846700 +1.3.6.1.2.1.2.2.1.10.1|65|629069 +1.3.6.1.2.1.2.2.1.11.1|65|6183 +1.3.6.1.2.1.2.2.1.12.1|65|2170 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|778743 +1.3.6.1.2.1.2.2.1.17.1|65|6198 +1.3.6.1.2.1.2.2.1.18.1|65|69 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.4.1.0|2|2 +1.3.6.1.2.1.4.2.0|2|64 +1.3.6.1.2.1.4.3.0|65|8367 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|7154 +1.3.6.1.2.1.4.10.0|65|6083 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.13.0|2|60000 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.23.0|65|0 +1.3.6.1.2.1.5.1.0|65|3908 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|2 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|3906 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|3906 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|3906 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.11.1.0|65|1668 +1.3.6.1.2.1.11.2.0|65|1654 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|13 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|5012 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|422 +1.3.6.1.2.1.11.16.0|65|849 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|372 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|1678 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.4.1.28507.66.1.1.1.1.0|2|0 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.2|2|2 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.3|2|3 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.4|2|4 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.5|2|5 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.6|2|6 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.7|2|7 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.8|2|8 +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.1|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.2|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.3|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.4|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.5|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.6|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.7|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.8|4| +1.3.6.1.4.1.28507.66.1.5.10.0|2|1 +1.3.6.1.4.1.28507.66.1.5.15.1.0|2|0 +1.3.6.1.4.1.28507.66.1.5.15.2.0|66|0 +1.3.6.1.4.1.28507.66.1.5.15.3.0|66|4294967295 +1.3.6.1.4.1.28507.66.1.6.1.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.6.1.1.2.1|2|259 +1.3.6.1.4.1.28507.66.1.6.1.1.3.1|2|539 +1.3.6.1.4.1.28507.66.1.6.1.1.6.1|2|159 +1.3.6.1.4.1.28507.66.1.6.1.1.7.1|2|100 +1.3.6.1.4.1.28507.66.1.6.1.1.32.1|4|i005 +1.3.6.1.4.1.28507.66.1.6.2.1.0|66|0 +1.3.6.1.6.3.10.2.1.1.0|4x|80006f5b0300193201c5e0 +1.3.6.1.6.3.10.2.1.2.0|2|9 +1.3.6.1.6.3.10.2.1.3.0|2|68471 +1.3.6.1.6.3.10.2.1.4.0|2|1420 +1.3.6.1.6.3.11.2.1.1.0|65|0 +1.3.6.1.6.3.11.2.1.2.0|65|0 +1.3.6.1.6.3.11.2.1.3.0|65|0 +1.3.6.1.6.3.15.1.1.1.0|65|0 +1.3.6.1.6.3.15.1.1.2.0|65|0 +1.3.6.1.6.3.15.1.1.3.0|65|0 +1.3.6.1.6.3.15.1.1.4.0|65|0 +1.3.6.1.6.3.15.1.1.5.0|65|0 +1.3.6.1.6.3.15.1.1.6.0|65|0 diff --git a/tests/snmpsim/gude-esb_7213-13.snmprec b/tests/snmpsim/gude-esb_7213-13.snmprec new file mode 100644 index 0000000000..0f3202bc9e --- /dev/null +++ b/tests/snmpsim/gude-esb_7213-13.snmprec @@ -0,0 +1,139 @@ +1.3.6.1.2.1.1.1.0|4x|4578706572742053656e736f7220426f7820373231332d3133 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.28507.66 +1.3.6.1.2.1.1.3.0|67|7158500 +1.3.6.1.2.1.1.4.0|4|dfgsdfsfd +1.3.6.1.2.1.1.5.0|4x|677564652d34 +1.3.6.1.2.1.1.6.0|4|sysLocation +1.3.6.1.2.1.1.7.0|2|72 +1.3.6.1.2.1.2.1.0|2|1 +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4x|6574685f4b3634 +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|00193201c113 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|7158500 +1.3.6.1.2.1.2.2.1.10.1|65|6352452 +1.3.6.1.2.1.2.2.1.11.1|65|77694 +1.3.6.1.2.1.2.2.1.12.1|65|2236 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|5678860 +1.3.6.1.2.1.2.2.1.17.1|65|77277 +1.3.6.1.2.1.2.2.1.18.1|65|95 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.4.1.0|2|2 +1.3.6.1.2.1.4.2.0|2|64 +1.3.6.1.2.1.4.3.0|65|79945 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|78651 +1.3.6.1.2.1.4.10.0|65|77143 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.13.0|2|60000 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.23.0|65|0 +1.3.6.1.2.1.5.1.0|65|671 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|1 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|670 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|670 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|670 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.11.1.0|65|387 +1.3.6.1.2.1.11.2.0|65|363 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|16 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|1 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|1047 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|147 +1.3.6.1.2.1.11.16.0|65|146 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|156 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|387 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.4.1.28507.66.1.1.1.1.0|2|0 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.2|2|2 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.3|2|3 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.4|2|4 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.5|2|5 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.6|2|6 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.7|2|7 +1.3.6.1.4.1.28507.66.1.1.1.2.1.1.8|2|8 +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.1|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.2|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.3|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.4|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.5|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.6|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.7|4| +1.3.6.1.4.1.28507.66.1.1.1.2.1.2.8|4| +1.3.6.1.4.1.28507.66.1.5.10.0|2|1 +1.3.6.1.4.1.28507.66.1.5.15.1.0|2|0 +1.3.6.1.4.1.28507.66.1.5.15.2.0|66|0 +1.3.6.1.4.1.28507.66.1.5.15.3.0|66|4294967295 +1.3.6.1.4.1.28507.66.1.6.1.1.1.1|2|1 +1.3.6.1.4.1.28507.66.1.6.1.1.2.1|2|265 +1.3.6.1.4.1.28507.66.1.6.1.1.3.1|2|532 +1.3.6.1.4.1.28507.66.1.6.1.1.5.1|2|1011 +1.3.6.1.4.1.28507.66.1.6.1.1.6.1|2|162 +1.3.6.1.4.1.28507.66.1.6.1.1.7.1|2|103 +1.3.6.1.4.1.28507.66.1.6.1.1.32.1|4|i006 +1.3.6.1.4.1.28507.66.1.6.2.1.0|66|0 +1.3.6.1.6.3.10.2.1.1.0|4x|80006f5b0300193201c113 +1.3.6.1.6.3.10.2.1.2.0|2|8 +1.3.6.1.6.3.10.2.1.3.0|2|71589 +1.3.6.1.6.3.10.2.1.4.0|2|1420 +1.3.6.1.6.3.11.2.1.1.0|65|0 +1.3.6.1.6.3.11.2.1.2.0|65|0 diff --git a/tests/snmpsim/gude-esb_7214-12.snmprec b/tests/snmpsim/gude-esb_7214-12.snmprec new file mode 100644 index 0000000000..6bc342a595 --- /dev/null +++ b/tests/snmpsim/gude-esb_7214-12.snmprec @@ -0,0 +1,149 @@ +1.3.6.1.2.1.1.1.0|4x|4578706572742053656e736f7220426f7820373231342d3132 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.28507.67 +1.3.6.1.2.1.1.3.0|67|7490500 +1.3.6.1.2.1.1.4.0|4|sysContact +1.3.6.1.2.1.1.5.0|4x|677564652d35 +1.3.6.1.2.1.1.6.0|4x|416d7374657264616d3b5048573b35746820666c +1.3.6.1.2.1.1.7.0|2|72 +1.3.6.1.2.1.2.1.0|2|1 +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4x|6574685f4b3634 +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|001932015583 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|7490600 +1.3.6.1.2.1.2.2.1.10.1|65|1452114 +1.3.6.1.2.1.2.2.1.11.1|65|12315 +1.3.6.1.2.1.2.2.1.12.1|65|2161 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|2785228 +1.3.6.1.2.1.2.2.1.17.1|65|12363 +1.3.6.1.2.1.2.2.1.18.1|65|81 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.4.1.0|2|2 +1.3.6.1.2.1.4.2.0|2|64 +1.3.6.1.2.1.4.3.0|65|14505 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|13342 +1.3.6.1.2.1.4.10.0|65|12218 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.13.0|2|60000 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.23.0|65|0 +1.3.6.1.2.1.5.1.0|65|609 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|2 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|607 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|607 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|607 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.11.1.0|65|1280 +1.3.6.1.2.1.11.2.0|65|1266 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|11 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|1 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|1761 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|192 +1.3.6.1.2.1.11.16.0|65|1029 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|204 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|1290 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.4.1.28507.67.1.1.1.1.0|2|0 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.1|2|1 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.2|2|2 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.3|2|3 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.4|2|4 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.5|2|5 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.6|2|6 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.7|2|7 +1.3.6.1.4.1.28507.67.1.1.1.2.1.1.8|2|8 +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.1|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.2|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.3|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.4|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.5|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.6|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.7|4| +1.3.6.1.4.1.28507.67.1.1.1.2.1.2.8|4| +1.3.6.1.4.1.28507.67.1.3.1.1.0|2|1 +1.3.6.1.4.1.28507.67.1.3.1.2.1.1.1|2|1 +1.3.6.1.4.1.28507.67.1.3.1.2.1.2.1|4x|4f757470757420506f7274 +1.3.6.1.4.1.28507.67.1.3.1.2.1.3.1|2|0 +1.3.6.1.4.1.28507.67.1.3.1.2.1.4.1|2|2 +1.3.6.1.4.1.28507.67.1.3.1.2.1.5.1|2|2 +1.3.6.1.4.1.28507.67.1.3.1.2.1.6.1|2|0 +1.3.6.1.4.1.28507.67.1.3.1.2.1.7.1|2|0 +1.3.6.1.4.1.28507.67.1.3.1.2.1.8.1|2|10 +1.3.6.1.4.1.28507.67.1.5.6.1.0|66|1 +1.3.6.1.4.1.28507.67.1.5.6.2.1.1.1|2|1 +1.3.6.1.4.1.28507.67.1.5.6.2.1.2.1|2|0 +1.3.6.1.4.1.28507.67.1.5.6.2.1.32.1|4x|45787465726e20496e707574 +1.3.6.1.4.1.28507.67.1.5.10.0|2|1 +1.3.6.1.4.1.28507.67.1.5.13.1.1.1|2|1 +1.3.6.1.4.1.28507.67.1.5.13.1.1.2|2|2 +1.3.6.1.4.1.28507.67.1.5.13.1.2.1|2|0 +1.3.6.1.4.1.28507.67.1.5.13.1.2.2|2|0 +1.3.6.1.4.1.28507.67.1.5.15.1.0|2|1 +1.3.6.1.4.1.28507.67.1.5.15.2.0|66|1722461498 +1.3.6.1.4.1.28507.67.1.5.15.3.0|66|2 +1.3.6.1.4.1.28507.67.1.6.1.1.1.1|2|1 +1.3.6.1.4.1.28507.67.1.6.1.1.2.1|2|279 +1.3.6.1.4.1.28507.67.1.6.1.1.3.1|2|488 +1.3.6.1.4.1.28507.67.1.6.1.1.6.1|2|161 +1.3.6.1.4.1.28507.67.1.6.1.1.7.1|2|117 +1.3.6.1.4.1.28507.67.1.6.1.1.32.1|4|i005 +1.3.6.1.4.1.28507.67.1.6.2.1.0|66|0