[ENG] 13.4. [DKSF 52/202.10 IU] SNMP TRAP Support
A formal description of SNMP TRAP notifications can be found in the MIB files DKSF_52.10.x_ MB.mib, DKSF_202.10.x_ MB.mib that are applied to the firmware of devices NetPing 2/PWR-220 v3/ETH and NetPing 2/PWR-220 v2/SMS. It is possible to download them from the pages of a site with a description of devices in the section «Documentation and Files». An SNMP TRAP notification is sent in an SNMP v1 format while the description in the MIB files has a format SNMP v2c.
An unambiguous mutual correspondence of 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».
Usually, software applications for processing SNMP notifications convert between two formats without difficulties.
To send SNMP TRAP notifications, there is a need to:
- specify an IP address for sending SNMP TRAP on the page «SETUP» of a device web interface;
- allow sending SNMP TRAP notifications by switching on corresponding checkboxes, more detailed information is in the section «[ENG] 13.2. [DKSF 52/202.10 IU] Configuration of Sending SNMP TRAP Notifications»
SNMP TRAP when Changing a Level on an IO Line in the «Output» Mode
Идентификация npIoTrap
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 |
Переменные в составе 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 the sending of a TRAP notification |
.1.3.6.1.4.1.25728.8900.2.2.0 | Integer | Value of a logic level of 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) |
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 into npThermoTrap (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8800.2.1.0 | Integer | Number of a sensor (1..8), changing a status of which caused the sending of a TRAP notification |
.1.3.6.1.4.1.25728.8800.2.2.0 | Integer | A current temperature value, °C |
.1.3.6.1.4.1.25728.8800.2.3.0 | Integer | Sensor status: 0 – sensor failed or is disconnected 1 – temperature is below normal 2 – temperature is normal 3 – temperature is above normal |
.1.3.6.1.4.1.25728.8800.2.4.0 | Integer | Bottom threshold of a norm, °C |
.1.3.6.1.4.1.25728.8800.2.5.0 | Integer | Top threshold of a norm, °C |
.1.3.6.1.4.1.25728.8800.2.6.0 | Octet String | Memo (a textual description of an installation place of a temperature sensor, encoding win1251) |
SNMP TRAP when Changing a Status of a Humidity Sensor
npRelHumTrap identification
SNMP v1 enterprise | .1.3.6.1.4.1.25728.8400.9 |
SNMP v1 generic-trap | enterpriseSpecific(6) |
SNMP v1 specific-trap | 1 |
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.8400.9.0.1 |
Variables included into npRelHumTrap (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.8400.2.5.0 | Integer | Status of a humidity sensor: 0 – Sensor failed 1 – Readings of a sensor are below normal level 2 – Readings of a sensor are normal 3 – Readings of a sensor are above normal |
.1.3.6.1.4.1.25728.8400.2.2.0 | Integer | Relative humidity value,%. |
.1.3.6.1.4.1.25728.8400.2.7.0 | Integer | Top threshold of a range of normal values for a humidity sensor. |
.1.3.6.1.4.1.25728.8400.2.8.0 | Integer | Bottom threshold of a range of normal values for a humidity sensor. |
SNMP TRAP when Changing a Relay Status
npRelayTrap identification
SNMP v2 snmpTrapOID | .1.3.6.1.4.1.25728.5500.6 |
snmpTrapOID npRelayTrap (SNMP TRAP notifications when changing a relay status)
OID | Description |
---|---|
.1.3.6.1.4.1.25728.5500.6.100.n | A relay is set to the status «Switched off», where n is a relay channel |
.1.3.6.1.4.1.25728.5500.6.101.n | A relay is switched to the status «Switched on», where n is a relay channel |
.1.3.6.1.4.1.25728.5500.6.102.n | Changing a relay management mode («Manual On», «Manual Off», «Watchdog», «Schedule», «Schedule+Watchdog», «Logic»), where n is a relay channel |
.1.3.6.1.4.1.25728.5500.6.103.n | Reset (is short term switching on/switching off a relay), where n is a relay number |
.1.3.6.1.4.1.25728.5500.6.127.n | Common snmpTrapOID for all events, where n is a relay channel |
.1.3.6.1.4.1.25728.5500.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.5500.6.127.99 | Common snmpTrapOID for all events and all channels |
Variables inluded into npRelayTrapData (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.5500.3.1.0 | Integer | A number of a relay channel, changing a status of which caused sending a TRAP notification. |
.1.3.6.1.4.1.25728.5500.3.2.0 | Integer | Relay operation mode. The next modes are available: 0 – Switched off manually 1 – Switched on manually 2 – Watchdog 3 – Schedule 4 – Schedule+Watchdog 5 – A channel is managed by the logic |
.1.3.6.1.4.1.25728.5500.3.6.0 | Octet String | Memo (textual description, encoding win1251). |
.1.3.6.1.4.1.25728.5500.3.15.0 | Integer | A current status of a relay: 0 – A relay is switched off 1 – A relay is switched on |
.1.3.6.1.4.1.25728.5500.3.18.0 | Integer | A source for changing the relay operation mode: -1 – Is not determined 1 – Web interface 2 – SNMP 3 – SMS 4 – HTTP API |
.1.3.6.1.4.1.25728.5500.3.19.0 | Integer | Time and date of changing a relay status. |
SNMP TRAP on the power source of a device
Information for the device NetPing 2/PWR-220 v2/SMS with a built-in battery.
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 included into npBatteryTraps (varbind list)
OID | Data Type | Description |
---|---|---|
.1.3.6.1.4.1.25728.3900.1.1.0 | Integer | Power source of a device: 0 – Battery power 1 – 220 V grid power |
.1.3.6.1.4.1.25728.3900.1.2.0 | Integer | Battery charge level, % |
SNMP TRAP on a Status of a GSM Modem
Information for a device NetPing 2/PWR-220 v2/SMS with a built-in 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 |
Variables contained in 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 (irrecoverable error, 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 | GSM signal strength: 0…31 = 0% … 100% 99 – Unknown 255 – Updating info |