Trap

TRAP is a notification element, that sends a trap message (Trap-PDU) from the monitoring system (agent) to the network management base station (SNMP manager).

The trap element supports the formation of SNMP trap messages ver. 1, 2c, and 3.

Warning

Trap element is meaningful only in conjunction with the mechanism of the logic of the monitoring system, that means, if the Trap is not included in any of the existing logic, then an element Trap will not generate and send trap messages.

Managing Traps

It is possible to create, configure, and delete Trap elements only via the web interface. See the documentation for more details: SNMP Traps notification.

Trap string description line

When the user sends a trap message, a trap string description is formed, for example:

Trap (name: trap_1, ID: 602001) was worked. Time: 10: 40: 32 2016/11/19 Logic: 'Logic_1', Element: 'Onboard Temperature', in state: 'high alarm', value: '25.00'

where:

  • trap_1 - trap element name;

  • 602001 - trap element ID.

You can change the name of the Trap element in the table ctlNotifiers.ctlNotifiersTrapsTable.ctlNotifiersTrapsEntry or in the system web interface.

In addition, the following variables are passed in the message body:

 

Variables

Description

Variables

Description

.1

Description of the logic scheme that has triggered

.2

Readings of sensors in the logic scheme

.3

Logic scheme response time

.4

Name of the logic scheme

.5

Name of the sensor whose state led to the triggering of the logic circuit

.6

The state of the sensor that triggered the operation of the logic circuit

.7

The value measured by the sensor or the logic level

.8

The ID of the sensor that triggered the logic circuit

.20

The ID of the SNMP trap

.21

Name of the SNMP trap

Example of the contents of the received trap: