------------------------------------------------------------------------------- -- EGW1MB Modbus TCP/Modbus Serial converter -- Structure of Management Information -- -- EXEMYS SRL - www.exemys.com - support@exemys.com -- -- History: -- 1.00 FJR 30/03/2016 First release. -- 2.00 PO 05/04/2016 Output index added to output change trap values -- IOs index is now visible. -- 3.00 PO 05/04/2017 Wi-Fi. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- The following objects are implemented in the MIB-II System Group -- 1.3.6.1.2.1.1.1 sysDescr -- 1.3.6.1.2.1.1.2 sysObjectID -- 1.3.6.1.2.1.1.3 sysUpTime ------------------------------------------------------------------------------- EGW1MB-AI DEFINITIONS ::= BEGIN IMPORTS enterprises, IpAddress FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 DisplayString FROM SNMPv2-TC TRAP-TYPE FROM RFC-1215 ; ------------------------------------------------------------------------------- -- MIB View Overview (.1.3.6.1.4.entreprise(1).exemys(18284).products(1).protocolConverter(4).egw1mb(1)...) -- -- iosTable .1 -- iosEntry .1.1 -- inputs .1.1.1 -- outputs .1.1.2 -- iosIndex .1.1.100 -- -- config .10 -- ipTraps1 .10.1 -- ipTraps2 .10.6 -- ipConfigAddress .10.2 -- ipConfigSubnetMask .10.3 -- ipConfigGateway .10.4 -- hostName .10.5 -- -- configWiFi .11 -- ipConfigAddress .11.2 -- ipConfigSubnetMask .11.3 -- ipConfigGateway .11.4 -- Ssid .11.5 ------------------------------------------------------------------------------- -- -- Type Definitions -- Egw1mbdiStateType ::= INTEGER { low(0), high(1) } Egw1mbiosIndexType ::= INTEGER { zero(0), one(1), two(2), three(3), four(4), five(5), six(6), seven(7), eight(8), nine(9), ten(10) } -- -- Top-Level Object Identifiers -- --1.3.6.1.4.1.18284 exemys OBJECT IDENTIFIER ::= { enterprises 18284 } --1.3.6.1.4.1.18284.1 exemysProducts OBJECT IDENTIFIER ::= { exemys 1 } --1.3.6.1.4.1.18284.10000 otherExemys OBJECT IDENTIFIER ::= { exemys 10000 } --1.3.6.1.4.1.18284.1.4 protocolConverter OBJECT IDENTIFIER ::= { exemysProducts 4 } --1.3.6.1.4.1.18284.1.10000 otherProducts OBJECT IDENTIFIER ::= { exemysProducts 10000 } --1.3.6.1.4.1.18284.1.4.1 egw1mb OBJECT IDENTIFIER ::= { protocolConverter 1 } --1.3.6.1.4.1.18284.1.4.10000 otherServers OBJECT IDENTIFIER ::= { protocolConverter 10000 } -- -- Product-Level Object Identifiers -- -- Inputs / Outputs -- --1.3.6.1.4.1.18284.1.4.1.1 iosTable OBJECT-TYPE SYNTAX SEQUENCE OF IosEntry ACCESS not-accessible STATUS current DESCRIPTION "Table containing inputs and outputs" ::= { egw1mb 1 } --1.3.6.1.4.1.18284.1.4.1.1.1 iosEntry OBJECT-TYPE SYNTAX IosEntry ACCESS not-accessible STATUS current DESCRIPTION "Table containing the IOS" INDEX { iosIndex } ::= { iosTable 1 } IosEntry ::= SEQUENCE { inputs Egw1mbdiStateType, outputs Egw1mbdiStateType, iosIndex Egw1mbiosIndexType } --1.3.6.1.4.1.18284.1.4.1.1.1.1 inputs OBJECT-TYPE SYNTAX Egw1mbdiStateType ACCESS read-only STATUS current DESCRIPTION "State of EGW1MB inputs" ::= { iosEntry 1 } --1.3.6.1.4.1.18284.1.4.1.1.1.2 outputs OBJECT-TYPE SYNTAX Egw1mbdiStateType ACCESS read-write STATUS current DESCRIPTION "State of EGW1MB outputs" ::= { iosEntry 2 } --1.3.6.1.4.1.18284.1.4.1.1.1.100 iosIndex OBJECT-TYPE SYNTAX Egw1mbiosIndexType ACCESS read-only STATUS current DESCRIPTION "The IOs index" ::= { iosEntry 100 } -- Network -- --1.3.6.1.4.1.18284.1.4.1.10 config OBJECT IDENTIFIER ::= { egw1mb 10 } --1.3.6.1.4.1.18284.1.4.1.10.1 ipTraps1 OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS current DESCRIPTION "IP Address of the 1st nms" ::= { config 1 } --1.3.6.1.4.1.18284.1.4.1.10.6 ipTraps2 OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS current DESCRIPTION "IP Address of the 2nd nms" ::= { config 6 } --1.3.6.1.4.1.18284.1.4.1.10.2 ipConfigAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current IP address" ::= { config 2 } --1.3.6.1.4.1.18284.1.4.1.10.3 ipConfigSubnetMask OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current Subnet Mask" ::= { config 3 } --1.3.6.1.4.1.18284.1.4.1.10.4 ipConfigGateway OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current Gateway IP address" ::= { config 4 } --1.3.6.1.4.1.18284.1.4.1.10.5 hostName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS current DESCRIPTION "Hostname of the Exemys device." ::= { config 5 } -- Wi-Fi -- --1.3.6.1.4.1.18284.1.4.1.11 configWiFi OBJECT IDENTIFIER ::= { egw1mb 11 } --1.3.6.1.4.1.18284.1.4.1.11.2 ipConfigAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current IP address" ::= { configWiFi 2 } --1.3.6.1.4.1.18284.1.4.1.11.3 ipConfigSubnetMask OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current Subnet Mask" ::= { configWiFi 3 } --1.3.6.1.4.1.18284.1.4.1.11.4 ipConfigGateway OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Current Gateway IP address" ::= { configWiFi 4 } --1.3.6.1.4.1.18284.1.4.1.11.5 Ssid OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS current DESCRIPTION "SSID Wi-Fi." ::= { configWiFi 5 } -- -- Trap definitions -- --1.3.6.1.4.1.18284.1.4.1.0.1 egw1mbinputOn TRAP-TYPE ENTERPRISE egw1mb VARIABLES { inputs, iosIndex } DESCRIPTION "This trap is sent each time one input goes from OFF to ON" ::= 1 --1.3.6.1.4.1.18284.1.4.1.0.2 egw1mbinputOff TRAP-TYPE ENTERPRISE egw1mb VARIABLES { inputs, iosIndex } DESCRIPTION "This trap is sent each time one input goes from ON to OFF" ::= 2 --1.3.6.1.4.1.18284.1.4.1.0.3 egw1mboutputOn TRAP-TYPE ENTERPRISE egw1mb VARIABLES { outputs, iosIndex } DESCRIPTION "This trap is sent each time one output goes from OFF to ON" ::= 3 --1.3.6.1.4.1.18284.1.4.1.0.4 egw1mboutputOff TRAP-TYPE ENTERPRISE egw1mb VARIABLES { outputs, iosIndex } DESCRIPTION "This trap is sent each time one output goes from ON to OFF" ::= 4 END