[ENG] 16.4. [DKSF 70/71.6 IU] Support of SNMP TRAP

A formal description of SNMP TRAP notifications can be found in the MIB files DKSF_70.6.x_ MB.mib, DKSF_71.6.x_ MB.mib applied to the firmware of the devices UniPing server solution v3/SMS and UniPing server solution v3. They can be downloaded from the pages of the site with a description of devices in the section «Documentation and Files». SNMP TRAP notification is sent in the format SNMP v1/v2c, 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».

Applications for processing of SNMP notifications usually convert easily between these two formats.

To send SNMP TRAP notifications, there is a need to:

SNMP TRAP when Changing a Level on an IO Line in the Mode

npIoTrap iIdentification 

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 included into 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 of which caused the sending of 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

Octet String

Memo (a textual description of a line, encoding win1251).

.1.3.6.1.4.1.25728.8900.2.7.0Octet StringDescription of a logic level. A clear for understanding description of a numeric value of a logic level of an IO line

SNMP TRAP when Changing a Status of a Temperature Sensor

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

A number of a sensor (1..8), changing a status of which caused sending 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 failure or switching off a sensor

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 iIdentification 

SNMP v2 snmpTrapOID

.1.3.6.1.4.1.25728.8400.6


snmpTrapOID npRelHumTrap (SNMP TRAP notifications when changing a humidity status)

OID

Description

.1.3.6.1.4.1.25728.8400.6.100.n

There are no readings of a relative humidity, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.6.101.n

Readings of a relative humidity are below normal humidity range, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.6.102.n

Readings of a relative humidity are normal, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.6.103.n

Readings of a relative humidity are above a normal humidity range, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.6.127.nA common snmpTrapOID for all events, where n is a channel of a sensor
.1.3.6.1.4.1.25728.8400.6.m.99A 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.99A common snmpTrapOID for all events and all channels


npRelHumTrapTemp iIdentification 

SNMP v2 snmpTrapOID

.1.3.6.1.4.1.25728.8400.7


snmpTrapOID npRelHumTrapTemp (SNMP TRAP notifications when changing a temperature status)

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

Readings of temperature are below a normal temperature range, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.7.102.n

Readings of temperature are normal, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.7.103.n

Readings of temperature are above a normal temperature range, where n is a channel of a sensor

.1.3.6.1.4.1.25728.8400.7.127.nCommon snmpTrapOID for all events, where n is a channel of a sensor
.1.3.6.1.4.1.25728.8400.7.m.99Common snmpTrapOID for all channels, where m is a code of an event (100, 101, 102, 103)
.1.3.6.1.4.1.25728.8400.7.127.99Common snmpTrapOID for all events and all channels


Variables included into npRelHumTrapData (varbind list)

OID

Data Type

Description

.1.3.6.1.4.1.25728.8400.3.1.0

Integer

A number of a sensor (1..4), changing a status, which caused sending a TRAP notification.

.1.3.6.1.4.1.25728.8400.3.2.0

Integer

A value of a relative humidity, % or temperature, °C.

.1.3.6.1.4.1.25728.8400.3.4.0

Integer

A status of a relative humidity or temperature.

.1.3.6.1.4.1.25728.8400.3.6.0

Octet String

Memo (a textual description of an installation place of a humidity sensor, encoding win1251).

.1.3.6.1.4.1.25728.8400.3.7.0

Integer

Top threshold of a range of normal values of a relative humidity or temperature.

.1.3.6.1.4.1.25728.8400.3.8.0

Integer

Bottom threshold of a range of normal values of a relative humidity or temperature.

SNMP TRAP when Changing a Status of an Analogue Smoke Sensor

npCurLoopTrap identification 

SNMP v1 enterprise

.1.3.6.1.4.1.25728.8300.2

SNMP v1 generic-trap

enterpriseSpecific(6)

SNMP v1 specific-trap

1

SNMP v2 snmpTrapOID

.1.3.6.1.4.1.25728.8300.2.0.1


Variables included into npCurLoopTrap (varbind list)

OID

Data Type

Description

.1.3.6.1.4.1.25728.8300.2.1.0

Integer

A number of a current loop, changing a status of which caused sending a TRAP notification (in a current device the value is always «1»).

.1.3.6.1.4.1.25728.8300.2.2.0

Integer

Loop status: 

0 – Normal

1 – Alert

2 – Open loop

3 – Short circuit

4 – Loop is switched off power

.1.3.6.1.4.1.25728.8300.2.3.0

Integer

Current in a loop, mA.

.1.3.6.1.4.1.25728.8300.2.4.0

Integer

Voltage drop in a loop, mV.

.1.3.6.1.4.1.25728.8300.2.5.0

Integer

Loop resistance, Ohm.

.1.3.6.1.4.1.25728.8300.2.7.0

Integer

A status of a loop power: 

0 – Off

1 – On

SNMP TRAP when Changing a Status of a 1-wire Smoke Sensor

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 into 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 – Alert

4 – Absent

5 – Failure

.1.3.6.1.4.1.25728.8300.2.6.0

Octet String

Memo ( the textual description of an installation place of a 1-wire smoke sensor, encoding win1251).


SNMP TRAP about a Status of a GSM Modem

Information for a device UniPing server solution v3/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 included into 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 (irrestorable 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.0IntegerGSM signal strength:

0…31 = 0% … 100%

99 – Unknown

255 – Updating info