[ENG] 15.4. [DKSF 54.3 IU] Support of SNMP Trap
A formal description of SNMP TRAP notifications can be found in a MIB file DKSF_54.3.x_MB.mib, attached to the firmware of a device NetPing 4/PWR-220 v4/SMS. It can be downloaded from the page with a description of a device, the section «Documentation and files». An SNMP TRAP notification is sent in the format SNMP v1, while a description in a MIB file has a format SNMP v2c.
Unambiguous mutual coexistence of the 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».
As a rule, software for processing SNMP converts between two formats without any difficulties.
To send SNMP TRAP, there is a need to:
- specify IP address for sending SNMP TRAP on the page «SETUP» of a device web interface;
- allow sending SNMP TRAP notifications by switching corresponding checkboxes. More detailed information is given in the section «[ENG] [Draft]15.2. [DKSF 54.3 IU] Configuring Sending SNMP TRAP Notifications»
SNMP TRAP when a Status of a Temperature Sensor Is Changed
npThermoTrap Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.8800.2 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8800.2.0.1 |
Variables included in npThermoTrap (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8800.2.1.0 | Integer | A number of a temperature sensor (1..8), changing a status of which caused sending a TRAP notification. |
.1.3.6.1.4.1.25728.8800.2.2.0 | Integer | Current temperature value, °C. |
.1.3.6.1.4.1.25728.8800.2.3.0 | Integer | Sensor status: 0 – Absent or failed 1 – Below safe 2 – Safe 3 – Above safe |
.1.3.6.1.4.1.25728.8800.2.4.0 | Integer | A bottom limit of a safe range of temperature values, °C. |
.1.3.6.1.4.1.25728.8800.2.5.0 | Integer | A top limit of a safe range of temperature values, °C. |
.1.3.6.1.4.1.25728.8800.2.6.0 | DisplayString | Memo (a textual description of a location of installation of a temperature sensor, encoding win1251). |
SNMP TRAP when Changing a Status of a Humidity Sensor
npRelHumTrap Identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8400.6 |
snmpTrapOID npRelHumTrap (SNMP TRAP notifications when a humidity status is changed)
OID | Description |
---|---|
.1.3.6.1.4.1.25728.8400.6.100.n | No readings of relative humidity, where n is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.6.101.n | Readings of relative humidity are below safe values of relative humidity, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.6.102.n | Readings of relative humidity are is a safe range of normal values of relative humidity, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.6.103.n | Readings of relative humidity are above safe values of relative humidity, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.6.127.n | Common snmpTrapOID for all events, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.6.m.99 | Common snmpTrapOID for all channels, where m – is an event code (100, 101, 102, 103). |
.1.3.6.1.4.1.25728.8400.6.127.99 | Common snmpTrapOID for all events and for all channels. |
npRelHumTrapTemp Identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8400.7 |
snmpTrapOID npRelHumTrapTemp (SNMP TRAP notifications when a status of temperature is changed)
OID | Description |
---|---|
.1.3.6.1.4.1.25728.8400.7.100.n | There are no readings of temperature, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.7.101.n | Temperature readings are below normal temperature values, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.7.102.n | Temperature readings are in a range of safe temperature values, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.7.103.n | Temperature readings are above normal temperature values, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.7.127.n | Common snmpTrapOID for all events, where n – is a channel of a sensor. |
.1.3.6.1.4.1.25728.8400.7.m.99 | Common snmpTrapOID for all channels, where m – is an event code (100, 101, 102, 103). |
.1.3.6.1.4.1.25728.8400.7.127.99 | Common snmpTrapOID for all events and all channels. |
SNMP TRAP when a Status of a 1-Wire Smoke Sensor Is Changed
npSmokeTraps Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.8200.2 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8200.2.0.1 |
Variables included in npSmokeTraps (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8200.2.1.0 | Integer | A number of a 1-wire smoke sensor (1..4), changing a status of which caused sending a TRAP notification. |
.1.3.6.1.4.1.25728.8200.2.2.0 | Integer | A status of a 1-wire smoke sensor: 0 – Normal 1 – Alarm 4 – Absent 5 – Failure |
.1.3.6.1.4.1.25728.8300.2.6.0 | DisplayString | Memo (a textual description of an installation place of a 1-Wire smoke sensor, encoding win1251). |
SNMP TRAP on a Status of a GSM Modem
npGsmTraps Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.3800.2 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 SNMPTrapOID | .1.3.6.1.4.1.25728.3800.2.0.1 |
Переменные в составе npGsmTraps (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.3800.1.1.0 | Integer | A status of a built-in GSM modem: 0 – OК 1 – Failed (no connection) 2 – FatalError (a nonrecoverable error, a modem is locked) |
.1.3.6.1.4.1.25728.3800.1.2.0 | Integer | A status of a connection to a GSM network: 0 – Impossible 1 – HomeNetwork 2 – Searching 3 – Denied 4 – Unknown 5 – Roaming 255 – InfoUpdate |
.1.3.6.1.4.1.25728.3800.1.3.0 | Integer | A GSM signal strength: 0…31 = 0% … 100% 99 – Unknown 255 – Updating info |
SNMP TRAP on Switching a Device to Battery / Primary Power
npBatteryTraps Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.3900.2 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 SNMPTrapOID | .1.3.6.1.4.1.25728.3900.2.0.1 |
Variables contained in npBatteryTraps (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.3900.1.1.0 | Integer | A power source of a device: 0 - BatteryPower 1 - ExternalPower |
.1.3.6.1.4.1.25728.3900.1.2.0 | Integer | A status of a battery charge: 0%...100% |
SNMP TRAP When a Status of a Built-in Relay Is Changed
npRelayTrapData Identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.5500.3 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 SNMPTrapOID | .1.3.6.1.4.1.25728.5500.3.0.1 |
Variables included in npRelayTrapData (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.5500.3.1.n | Integer | Relay index, where n – is a relay number. |
.1.3.6.1.4.1.25728.5500.3.2.n | Integer | An operation mode of a relay, where n – is a relay number. The next modes are available: 0 – Off 1 – On |
.1.3.6.1.4.1.25728.5500.3.6.n | DisplayString | A relay memo, where n – is a relay number |
.1.3.6.1.4.1.25728.5500.3.15.n | Integer | A current status of a relay, where n – is a relay number: 0 – Relay is off 1 – Repay is on |
.1.3.6.1.4.1.25728.5500.3.18.n | Integer | Source of switching a relay: -1 – Unknown 1 – Web interface 2 – SNMP 3 – SMS 4 – HTTP API 5 – Watchdog 6 – Schedule 7 – Logic |
.1.3.6.1.4.1.25728.5500.3.19.n | DisplayString | Time of registering relay switching. |
SNMP TRAP When a Status of a Discrete Input Line Is Changed
npIoTraps 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 npIoTraps (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8900.2.1.n | Integer | A line index of a discrete input, where n – is a line number. |
.1.3.6.1.4.1.25728.8900.2.2.n | Integer | A current logic level (0 or 1) of a discrete input line, where n - is a line number. |
.1.3.6.1.4.1.25728.8900.2.6.n | DisplayString | Memo for a discrete input line, where n - is a line number. |
.1.3.6.1.4.1.25728.8900.2.7.n | DisplayString | Description of a logic level. |
SNMP TRAP from the Module «Watchdog»
npPwrWdogTrapReset Identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.5800.6.100 |
Variables contained in npPwrWdogTrapReset (varbind list) (SNMP TRAP notification when the module «Watchdog» is reset)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.5800.2.1.n | Integer | A number of a channel of the module «Watchdog», where n - is a number of a relay corresponding to a channel. |
.1.3.6.1.4.1.25728.5800.2.6.n | DisplayString | Memo (what is connected) and the module «Watchdog», where n -is a number of a relay corresponding to a channel. |
.1.3.6.1.4.1.25728.5800.2.13.n | Integer | Address that did not respond to ping, possible values: Bit 0 - address А; Bit 1 - address B; Bit 2 - address C |
npPwrWdogTrapSuspended Identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.5800.6.101 |
Variables contained in npPwrWdogTrapSuspended (varbind list) (SNMP TRAP notification when the module «Watchdog» is stopped when an ICMP Echo request from a tested node is chronically unresponded )
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.5800.2.1.n | Integer | A number of a channel of the module «Watchdog», where n - is a number of a relay corresponding to a channel. |
.1.3.6.1.4.1.25728.5800.2.6.n | DisplayString | Memo (what is connected) for the module «Watchdog», where n - is a number of a relay corresponding to a channel. |
npPwrWdogTrapResumed Identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.5800.6.102 |
Variables contained in npPwrWdogTrapResumed (varbind list) (SNMP TRAP notification when the operation of the module «Watchdog» restores when receiving responses to ICMP Echo requests from a tested node)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.5800.2.1.n | Integer | A number of a channel of the module «Watchdog», where n - is a number of a relay corresponding to a channel. |
.1.3.6.1.4.1.25728.5800.2.6.n | DisplayString | Memo (what is connected) for the module «Watchdog», where n - is a number of a relay corresponding to a channel. |