[ENG] 6.4. [DKSF 253.6 IU] Support of SNMP Trap
A formal description of SNMP TRAP notifications can be found in the MIB file DKSF_253.6.x_ MB.mib, which is added to the firmware of a NetPing IO v2 device. A file can be downloaded from the page of the website with a description of a device in the section «Documentation and files». An SNMP TRAP notification is sent in the format SNMP v1, at the same time, a description in the MIB files has a format SNMP v2c.
An unambiguous correspondence of an identification of SNMP TRAP notifications for v1 and v2c is described in RFC3584 «Coexistence between Version 1, Version 2, and Version 3 of the Internet-standard Network Management Framework».
Software for processing SNMP notifications usually convert between two formats easily.
To send SNMP TRAP notifications, there is a need to:
- indicate IP address for sending SNMP TRAP at the page «SETUP» of a device web interface;
- allow sending SNMP TRAP notifications by checking corresponding checkboxes, more detailed information is in the section «[ENG] 6.2. [DKSF 253.6 IU] Configuring Sending SNMP TRAP Notifications»
SNMP TRAP When a Level of an IO Line Is Changed in the Mode «Input»/«Output»
npIoTrap Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.8900.2 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8900.2.0.1 |
Variables contained in npIoTrap (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8900.2.1.0 | Integer | A number of an IO line (starting from «1»), changing which caused sending a TRAP notification. |
.1.3.6.1.4.1.25728.8900.2.2.0 | Integer | A value of a logic level at an IO line («0» or «1»). |
.1.3.6.1.4.1.25728.8900.2.6.0 | OctetString | Memo (textual description of a line, encoding win1251). |
.1.3.6.1.4.1.25728.8900.2.7.0 | OctetString | Description of a logic level. A clear and understandable description of a numeric value of a logic level of an IO line. |
.1.3.6.1.4.1.25728.8900.2.21.0 | Integer | A current value of a logic level at an IO line 1. |
.1.3.6.1.4.1.25728.8900.2.22.0 | Integer | A current value of a logic level at an IO line 2. |
.1.3.6.1.4.1.25728.8900.2.23.0 | Integer | A current value of a logic level at an IO line 3. |
.1.3.6.1.4.1.25728.8900.2.24.0 | Integer | A current value of a logic level at an IO line 4. |
When determining a status of IO lines, there is a need to take into account the impact of a delay, added by a filter of short noise filter, and possible effects, related to the fact that a status of IO lines 1..4 is processed by firmware in a cycle one by one, not simultaneously and in parallel.